Want to stay on top? Ruby Weekly is a once-weekly e-mail newsletter covering the latest Ruby and Rails news.
     Feed Icon

Sexier Migrations in Rails

By Peter Cooper / March 30, 2007

Sexymigrations

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.

Comments

  1. RSL says:

    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!

  2. Michael Air says:

    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.

Other Posts to Enjoy

Twitter Mentions