Saturday, December 13, 2008

Fixtures and foreign key contraints

I'm working on a project where the stakeholder wants foreign key constraints in the database. I've been reading all over about fixtures and foreign keys. It all the opinions I'm surprised I havn't read "Fixtures are stupid, don't use them". I've decided to rip out the fixtures and replace them with factories.