Rails generators are often known to be a one way street. Often people new to
rails think if they generate the wrong thing they are stuck. Not true! So here
we go, happens to me all the time:
$ rails g controller ReportsController index ... app/controllers/reports_controller_controller.rb ...
Oh right generate just takes the name without the extension. No need to hunt
down the generated files:
$ rails d controller ReportsController index ... $ rails g controller Reports index ... app/controllers/reports_controller.rb ...
Just run d for destroy and generate again. Just thought to point this out!