infochimps / rspec-haml-scaffold-generator forked from mrflip/rspec-haml-scaffold-generator
- Source
- Commits
- Network (13)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
Philip (flip) Kromer (author)
Sat Sep 12 17:44:57 -0700 2009
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
LICENSE | Wed May 06 16:28:36 -0700 2009 | |
| |
README.rdoc | ||
| |
Rakefile | Wed May 06 16:28:36 -0700 2009 | |
| |
VERSION.yml | Wed May 06 16:34:17 -0700 2009 | |
| |
application_controller_template.rb | ||
| |
generators/ | ||
| |
install.rb | Mon Mar 10 15:27:18 -0700 2008 | |
| |
rspec-haml-scaffold-generator.gemspec | Wed May 06 16:36:23 -0700 2009 | |
| |
rspec_haml_scaffold_generator_test.rb | Wed May 06 16:28:36 -0700 2009 |
README.rdoc
RSpec Haml Scaffold Generator
This is an uber version of the RSpec Scaffold Generator, the following things have been added:
Support for Haml instead of erb Nested routes (nested tests/migrations)
Installation:
sudo gem install zachinglis-rspec-haml-scaffold
Examples:
./script/generate rspec_haml_scaffold post # no attributes, view will be anemic ./script/generate rspec_haml_scaffold post attribute:string attribute:boolean # this is actually broken at the moment, don't do this !!! Feel free to patch it
Credits
* Daniel Fischer - http://danielfischer.com * Zach Inglis - http://zachinglis.com
*************************
On First Install
*************************
- Please paste the last part of
application_controller_template.rb
into your
app/controllers/application_controller_template.rb
- The templates use the ‘title’ helper from nifty_layout,
git://github.com/ryanb/nifty-generators.git

