I create my rails application called ‘demo’, then run ‘script/server’.
Browse URL: http://localhost:3000/. It displayes default page ‘Welcome
Then run ‘ruby script/generate controller Say’ command
Following massages will displayed on screen :
After that I edit ‘say_controller.rb’ in app/controllers as
class SayController < ApplicationController
Then create ‘hello.rhtml’ file in app/views folder
Hello from Rails!
When I browse URL: http://localhost:3000/say/hello
It Gives an following massage.
We’re sorry, but something went wrong.
We’ve been notified about this issue and we’ll take a look at it
What to do??? Is i missing any configuration?
Please help me out.
Thanks and Regards,