The command succeeds in running, and says that the files are created, however there are no files created, and running the command again says that they already exist.
after rails generate controller
, at ~/Desktop/Projects/RailsTutorial
:
create app/controllers/static_pages_controller.rb
invoke erb
create app/views/static_pages
invoke test_unit
create test/controllers/static_pages_controller_test.rb
invoke helper
create app/helpers/static_pages_helper.rb
invoke test_unit
invoke assets
invoke coffee
create app/assets/javascripts/static_pages.coffee
invoke scss
create app/assets/stylesheets/static_pages.scss
ls
at ~/Desktop/Projects/RailsTutorial/app/controllers
:
application_controller.rb concerns
Aucun commentaire:
Enregistrer un commentaire