Localhost isn't displaying


#1

I've been working through Unit 2 (Saving Data), and for some reason the localhost page doesn't display. I get the page not found error.

For example, I can't see the /messages page. I've tried setting up the route as:
root 'messages#index'
and
get '/messages' => 'messages#index'

but neither worked. Any suggestions?


#2

I puzzled over this for a long time. It came down to the URL:

http://localhost:8000/messages/new

solved my problem. Let us know if this is the situation in your case, please.