How to set up ( Fedora php ruby on rails )

Monday, February 14, 2011

Rake Route(How to see routes of specific controller)

How to target specific controller in rake routes command

Most of time i need to look at my routes and as project increases so the list of routes and it's get confusing to find a specific routes using rake routes command so here is the answer

rake routes CONTROLLER=controller_name

For Example

rake routes CONTROLLER=posts


  1. Thanks for this tip ) I always forget it...

  2. Note; you must specify pluralized controller name!

  3. It was really a nice article and i was really impressed by reading this Ruby on Rails Online Training Bangalore