Post by Peter Cooper on March 30th, 2007
Sexier Migrations in Rails

- Session Secrets in Ruby on Rails
- Columnized text datasets in Rails
- acts_as_cached: Easy caching for ActiveRecord



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.

Click here to add on del.icio.us
Tweet This









March 30th, 2007 at 5:12 pm
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!
April 4th, 2007 at 6:40 am
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.