Create a gist now

Instantly share code, notes, and snippets.

$ rails g controller Mysteries index show
create app/controllers/mysteries_controller.rb
route get "mysteries/show"
route get "mysteries/index"
invoke erb
create app/views/mysteries
create app/views/mysteries/index.html.erb
create app/views/mysteries/show.html.erb
invoke test_unit
create test/functional/mysteries_controller_test.rb
invoke assets
create app/assets/javascripts/
invoke scss
create app/assets/stylesheets/mysteries.css.scss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment