Skip to content

Instantly share code, notes, and snippets.

@bscofield
Created February 10, 2010 02:22
Show Gist options
  • Save bscofield/299949 to your computer and use it in GitHub Desktop.
Save bscofield/299949 to your computer and use it in GitHub Desktop.
[rails2] > ./script/generate mailer Notifications
exists app/models/
create app/views/notifications
exists test/unit/
create test/fixtures/notifications
create app/models/notifications.rb
create test/unit/notifications_test.rb
create app/views/notifications/reset.erb
create test/fixtures/notifications/reset
[rails3] > rails generate mailer Notifications
create app/mailers/notifications.rb
invoke erb
create app/views/notifications
create app/views/notifications/reset.text.erb
invoke test_unit
create test/functional/notifications_test.rb
create test/fixtures/notifications/reset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment