Created
July 30, 2011 23:11
-
-
Save adamtait/1116122 to your computer and use it in GitHub Desktop.
Rails is smart! Knows plurals in english
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/workspace/rails/happenedtome: ruby script/generate scaffold story title:text body:text | |
exists app/models/ | |
exists app/controllers/ | |
exists app/helpers/ | |
create app/views/stories | |
exists app/views/layouts/ | |
exists test/functional/ | |
exists test/unit/ | |
create test/unit/helpers/ | |
exists public/stylesheets/ | |
create app/views/stories/index.html.erb | |
create app/views/stories/show.html.erb | |
create app/views/stories/new.html.erb | |
create app/views/stories/edit.html.erb | |
create app/views/layouts/stories.html.erb | |
create public/stylesheets/scaffold.css | |
create app/controllers/stories_controller.rb | |
create test/functional/stories_controller_test.rb | |
create app/helpers/stories_helper.rb | |
create test/unit/helpers/stories_helper_test.rb | |
route map.resources :stories | |
dependency model | |
exists app/models/ | |
exists test/unit/ | |
exists test/fixtures/ | |
create app/models/story.rb | |
create test/unit/story_test.rb | |
create test/fixtures/stories.yml | |
create db/migrate | |
create db/migrate/20110730230215_create_stories.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment