Answer:
The Rails router recognizes URLs and dispatches them to a controller’s action. It also generate paths and URLs. Rails router deals URLs in a different way from other language routers. It determines controller, parameters and action for the request.
Previous Question | Next Question |
Tell us what is the use of super function in Ruby on Rails? | What is RVM? |