Rake Routes for a Single Controller

You can list routes in your Rails application with:
rake routes
If in-case you were looking for some specific route and grep doesn't solve your problems
rake routes | grep 'users'
Here is a tip which you can try
rake routes CONTROLLER=controller_name


Popular posts from this blog

Inserting and Moving elements inside Ruby Array

Difference between Validations, Callbacks and Observers