Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
rails generate scaffold comment post_id:integer body:text
Running via Spring preloader in process 7851
invoke active_record
create db/migrate/20161120232019_create_comments.rb
create app/models/comment.rb
invoke test_unit
create test/models/comment_test.rb
create test/fixtures/comments.yml
invoke resource_route
route resources :comments
invoke scaffold_controller
create app/controllers/comments_controller.rb
invoke erb
create app/views/comments
create app/views/comments/index.html.erb
create app/views/comments/edit.html.erb
create app/views/comments/show.html.erb
create app/views/comments/new.html.erb
create app/views/comments/_form.html.erb
invoke test_unit
create test/controllers/comments_controller_test.rb
invoke helper
create app/helpers/comments_helper.rb
invoke test_unit
invoke jbuilder
create app/views/comments/index.json.jbuilder
create app/views/comments/show.json.jbuilder
create app/views/comments/_comment.json.jbuilder
invoke assets
invoke coffee
create app/assets/javascripts/comments.coffee
invoke scss
create app/assets/stylesheets/comments.scss
invoke scss
identical app/assets/stylesheets/scaffolds.scss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment