Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grep_routes

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grep_routes

  • 0.1.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

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.

FAQs

Package last updated on 27 Feb 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc