没有任何数据可供显示
开源项目社区 | 当前位置 : |
|
oss.trustie.net/open_source_projects | 主页 > 开源项目社区 > flexible-rails |
flexible-rails
|
0 | 0 | 6 |
贡献者 | 讨论 | 代码提交 |
This is a collection of helpful tools when working with Adobe Flex SDK and Rails. Some patterns adapted from Peter Armstrong's book, Flexible Rails (http://www.flexiblerails.com).
Installationscript/plugin install http://flexible-rails.googlecode.com/svn/trunk/plugins/flexible_rails
Rake Tasks Rake Tasks assumes Flex 3 SDK is your PATH
rake flex # Run all Flex tasks
rake flex:compile # Compiles Flex Applications and moves swf(s) into public/bin directory
rake flex:static # Moves JS, CSS, and index.html located within app/flex into respective public/ foldersGenerators./script/generate flex ApplicationName [ComponentName]
The first parameter specifies the ApplicationName that will be created. A Skeleton MXML file will be created in app/flex directory, as will a skeleton components directory in app/flex/com/applicationname/components. If public/bin does not exist, it will be created to hold you application SWF's
The second parameter specifies the name of an Application Component that will be created in app/flex/com/applicationname/components. The skeleton component will be
to_xml (Fix for Flex)The to_xml() method will now by default use :dasherize => false
respond_torespond_to blocks in your controller will now only display .html blocks in non-production modes. This allows you to view scaffold in Development, Test, without changing your codebase in production
Copyright (c) 2008 Jae Hess, released under the MIT license