0.0
No commit activity in last 3 years
No release in over 3 years
Greppin in ur routes
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.11.2
 Project Readme

Grep Routes

Running rake routes is super slow and a waste of time.

grep_routes is similar to rake routes | grep someroute but way faster. My SuperScientificBenchmarks™ indicate 10x speed improvement over rake routes on big Rails projects to 3x on a fresh Rails 3.2 app, ymmv.

Note: This only works on Rails 3.1 and 3.2.

Install

gem install grep_routes

Usage

All commands should be run from the root of your Rails3 project.

Show all your routes:

grep_routes

Grep through your routes:

grep_routes privacy_policy

Grep through your routes using regex:

grep_routes "(privacy_policy|terms|\w+_id)"

Reporting Problems

Please use Github Issues to report any problems. Please include a snippet of your routes.rb file so its easier to diagnose, test, and fix the problem!

Contributing

Fork, code, send pull request.