Thursday, December 9, 2010

[Rails] Route mapping?

Hi,
I am very new to Ruby on Rails. I am going through some books as
reference. When I was running my app I mistaken place a letter like:
localhost:3000/s and as there was no matching for s in my route.rb I
get this error:
Routing Error

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

So, my question is that; is there any way or exception to handle such condition?

Any idea regarding this?

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate