Hemant Bhargava wrote:
> Ok sorry, I did'nt know the rules ..
> Sorry again.. but i need it urgent actually .. :)
> 

Routes are eval'ed from top to bottom as defined, first match wins.
Sounds like you need a catch-all route at the bottom of routes.rb that 
sends the user to your 'buggy url' page if no other route matched the 
request.

There are a number of good tutorials out there for routing in Rails, and 
perhaps

http://api.rubyonrails.org/classes/ActionController/Routing.html

is a good place to start.

And I second Marnen.  Your emergency is your emergency, not anyone 
else's.  And people may be more apt to respond to a post that states the 
issue and what you have tried to resolve it, or the research you have 
done. Otherwise the request for help comes across as 'Someone fix this 
for me, I want/need it'


-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to