Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v2.11.2
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (15 sloc) 0.739 kb
generate('rspec:install')
generate('controller wombats index') # plural
generate('controller welcome index') # singular
generate('integration_test widgets')
generate('mailer Notifications signup')
generate('model thing name:string')
generate('helper things')
generate('scaffold widget name:string category:string instock:boolean foo_id:integer bar_id:integer --force')
generate('observer widget')
generate('scaffold gadget') # scaffold with no attributes
generate('scaffold admin/accounts name:string') # scaffold with nested resource
generate('controller things custom_action')
file "app/views/things/custom_action.html.erb", "This is a template for a custom action.", {:force=>true}
run('rake db:migrate')
run('rake db:test:prepare')
Jump to Line
Something went wrong with that request. Please try again.