CmdID

CmdID / Commands

rails-routes

List routes in a Rails application. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

List all routes

rails routesIdentify

List all routes in an expanded format

rails routes --expandedIdentify

List routes partially matching URL helper method name, HTTP verb, or URL path

rails routes --grep posts_pathIdentify

List routes that map to a specified controller

rails routes --controller postsIdentify