Created
February 10, 2010 02:15
-
-
Save bscofield/299941 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| [rails2] > ./script/generate controller People index show | |
| exists app/controllers/ | |
| exists app/helpers/ | |
| create app/views/people | |
| exists test/functional/ | |
| exists test/unit/helpers/ | |
| create app/controllers/people_controller.rb | |
| create test/functional/people_controller_test.rb | |
| create app/helpers/people_helper.rb | |
| create test/unit/helpers/people_helper_test.rb | |
| create app/views/people/index.html.erb | |
| create app/views/people/show.html.erb | |
| [rails3] > rails generate controller People index show | |
| create app/controllers/people_controller.rb | |
| invoke erb | |
| create app/views/people | |
| create app/views/people/index.html.erb | |
| create app/views/people/show.html.erb | |
| invoke test_unit | |
| create test/functional/people_controller_test.rb | |
| invoke helper | |
| create app/helpers/people_helper.rb | |
| invoke test_unit | |
| create test/unit/helpers/people_helper_test.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment