docker-compose run web rails g controller api/v1/something show --no-assets --skip-template-engine --skip-route
create /controllers/api/v1/something_controller.rb
route namespace :api do
namespace :v1 do
get 'something/show'
end
end
invoke test_unit
create test/controllers/api/v1/something_controller_test.rb
invoke helper
create /helpers/api/v1/something_helper.rb
invoke test_unit
Created
November 21, 2016 10:29
-
-
Save taisyo7333/6d8c527d3a2653e24665bb98b845b2eb to your computer and use it in GitHub Desktop.
ruby on rails + Docker
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment