Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Some nice changes there. Namespaces make it even more easy to work with legacy databases or mixing rails tables with say wordpress which prefixes all its tables with 'wp_'. Another nifty change w.r.t MySQL: positioning using :first => true and :after => :other_column. That allows us to keep the attributes in a nice order. Otherwise all the new columns used go below created_at and updated_at which was kind of ugly.


Awesome, the order of the DB columns was my biggest pet peeve with migrations




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: