Create a gist now

Instantly share code, notes, and snippets.

See the routes for a controller
When you're in a controller. This will do a
routes CONTROLLER=...
so you can see the routes specific to that controller. Brilliant!
This ability comes from the Rails.vim plugin.
I've got this in my .vimrc:
nmap <leader>r :Rake<CR>
nmap <leader>R :.Rake<CR>
to make it easier to use :Rake and :.Rake.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment