Can I rake the routes for a specific resource?
You can check for routes of specific controller:rake routes CONTROLLER=account_groups
As seen in @ZiiCEagle's answer this is deprecated now and you should userails routes -c account_groups
I usually do rake routes | grep ressource_name
.
Also check out Rails HtmlRoutes if you want it nice and pretty in HTML.
rake routes CONTROLLER=controller_name
has been deprecated in rails 5.1.Now it's
rails routes -c controller_name