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

Comments

Popular posts from this blog

Inserting and Moving elements inside Ruby Array

Remove duplicates from a JavaScript Array

Sending Binary Data over the Network with Json