On 23 April 2014 17:45, Jan Yo [email protected] wrote:
I used “rails g scaffold_controller xx”.
It generated everything okay. I restarted httpd (web server).
But, the controller won’t show up…did a rake routes and it doesn’t
show up there.
Any ideas on how to get my web app to recognize my new controller with
I don’t know whether the command you posted will automatically put an
entry in routes.rb. Have a look and if it has not then you will need
to do it yourself.
If you don’t know how routes work then before doing anything else work
right through a good tutorial such as railstutorial.org, which is free
to use online. That will show you the basics of Rails.