RSpec Haml Scaffold Generator plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install git://github.com/dfischer/rspec-haml-scaffold-generator.git
To install the git way (until Rails’ script/install supports git) do this in your rails_root/vendor/plugins directory:
git clone git://github.com/dfischer/rspec-haml-scaffold-generator.git
Bam, you’re done. You should have a rspec-haml-scaffold folder in your vendor/plugins directory and when you fire up the following command:
script/generate
You should see “rspec_haml_scaffold” in the “installed generators…plugins” section.
Examples:
# no attributes, view will be anemic ./script generate rspec_haml_scaffold post # this is actually broken at the moment, don't do this !!! Feel free to patch it ./script generate rspec_haml_scaffold post attribute:string attribute:boolean
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | (0 older versions) | Last edited by: Guest, 6 days ago

