Generator
Usage
script/generate cs_active_scaffold Person first_name:string last_name:string birth_date:date
Notes
This is generator for ActiveScaffold.
- It's usage is demonstrated in Ruby-on-Rails-with-One-Model
- Using generator cs_active_scaffold instead of scaffold prevents unnecessary clean up work.
Setup
To use it in an existing project place it under "vendor/generators/cs_active_scaffold" from git://github.com/umuro/cs_active_scaffold.git
cd vendor
mkdir generators
cd generators
git clone git://github.com/umuro/cs_active_scaffold.git
Or use the template…
Template
The generator above is also installed via a template.
Usage
rails your_project -m http://tinyurl.com/cs-active-scaffold
Notes
- The project is HAML powered. Already has SASS styles factored out to start easily.
- CS Active Scaffold generator is included
- Shoulda and FactoryGirl included for easy testing
Again it's usage is demonstrated in Ruby-on-Rails-with-One-Model
Source
Online: http://github.com/umuro/rails-templates/tree/master
GIT Clone URL: git://github.com/umuro/rails-templates.git
For use in rails -m option:
Template Master Version: http://tinyurl.com/cs-active-scaffold
Template Edge Version: http://tinyurl.com/cs-active-scaffold-v-edge