i'm new to ruby on rails, there's a problem when i follow the guide on rubyonrails.org 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?
on 2009-05-05 19:43
on 2009-05-05 20:16
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.
on 2009-05-05 20:23
Did you do: ruby script/generate controller ....