By Peter Cooper / March 30, 2007
Chris Wanstrath takes a look at how to get sexier looking migrations (above) in Rails. If you're sick of endless lines of "t.column", check it out.
I'm curious if the same people who have problems with Haml's sexiness because it's "another format to learn" feel the same about this. I myself think both are the cat's miaou!
Hmmm I like the foreign key part but otherwise, I find it harder to read - no context. Clean code is good but readable code is better.
Copyright © 2006–2012 Peter Cooper