i’m new to ruby on rails, there’s a problem when i follow the guide on
i create a controller like this
Ruby script\generate home index
and edit app/views/home/index.html.erb after that
Ruby script\server
when i browse the http://localhost:3000/home/index
it shows that
We’re sorry, but something went wrong.
We’ve been notified about this issue and we’ll take a look at it
shortly.
how to deal with?
I would normally say to look in the development.log file for a more
detailed explanation.
However, you will normally get a detailed error on the browser when
running in development mode and the error you described when running
in production.
Try checking …\log\production.log to see what the error is.
Also, you can try starting up the server using ruby script/server -e
development to make force it to development environment.
Did you do:
ruby script/generate controller …