News for hackers. Stuff that matters.
Re:Rails migrations with no downtime by lectrick on Monday February 13, 2012 @08:58AM (#3585550)
I have never missed foreign keys on the projects I've worked on that don't use them.

This is because those projects typically sit on databases that are only expected to be accessed via web API and not directly from some other source.

Which is basically the Rails philosophy. Only let the app talk to the DB, and let the only outside interface to the DB be through the ORM that has to do most of the data validations anyway.

There are no comments on this comment yet.