No route matches "/home/index" with {:method=>:get}

I followed a tutorial to learn ruby on rails at
http://guides.rubyonrails.org/v2.3.8/getting_started.html
http://guides.rubyonrails.org/v2.3.8/getting_started.htmlAfter
creating a
view and controller as “script/generate controller home index” and then
i
changed the contents of app/view/home/index.html.erb file according to
tutorial into one line as

Hello, Rails!

Now i started the server as script/server(successfully started) and when
i
navigate to localhost:3000/home/index, i got a error message which says

ROUTING ERROR
No route matches “/home/index” with {:method=>:get}

Please someone help to resolve.

Thanks

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs