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
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
how to deal with?
I would normally say to look in the development.log file for a more
However, you will normally get a detailed error on the browser when
running in development mode and the error you described when running
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 …