Wednesday, December 31, 2008

Cool Routes Trick: Dev Cheat

I just opened up a new app. Gotta learn it; figure out where stuff goes; what does what; et cetera. I find this:

It's like when you're at a conference, at the end of a long day, you come back to your hotel room, and there's a little chocolate in gold foil on the pillow. Like warm fuzzies, except it's more good manners than anything else.

Just to make it obvious and clear, this allows you, in dev mode, to get to any controller and action just via the usual, non-resourceful, non-cleverly-mapped, easy-to-remember classic Rails URL style.