This is a small project that I carried on when I was just started programming. Since then, Rails upgraded a few major versions from 2 to 5, internal APIs changed, and this is probably useless. Unless you are a time traveler, or a miserable programmer working on upgrading a Rails 2 app. I'll leave this here just for historical purposes, and for my own amusement (and disgust) reading my old code. Wish you a very happy and productive day. Kthxbye
ColorRoutes is just a little library bundled with the necessary code to turn the output of the rake routes command from the usable but dull white and black screen to something more vivid and, more important, readable.
NOTE: the first version of this Gem doesn't work under Rails 3. v1.0.0 does.
Enjoy!
cd my_rails_app
curl https://raw.github.com/nicooga/color_routes/master/lib/color_routes/rails/tasks/color_routes.rake -o lib/tasks/color_routes.rake
to have this task on a single rails app.
- Make the 'gem' part of color_routes gem real