Touch the Third Rail

3 01 2007

Here on rail one, we have Amy Hoy’s article on using script/console to do debugging. It’s chock full of tips and tricks, and was super-useful when I was tooling around over vacation. It’s Hoyesque! You know you’re rockin’ when you become an adjective or an adverb. At least, a positive one. Don’t even ask what Kuneshesque has been used for.

Over on rail two we have some n00b picture of Rails model associations. Given that I am a n00b, I like it. It’s nice. Nice, not earth-shattering. So, on to earth-shattering. Holy crap! It’s Matt Biddulph’s hackdiary. I saw Matt give his presentation at RailsConf 2006 and thought, “that’s one smart cookie.” Then I saw this script, and thgouth, “that’s one smart CAKE!”

Check out this script which lets you take a Rails app, converts the associations to a GraphViz format that you can then import into OmniGraffle. Since the mac lacks a decent entity relationship diagramming tool and I am too lazy to create one by hand, this is a lifesaver. It totally justified hours of web browsing and and reading on New Year’s Day.


Actions

Informations

Leave a comment

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>