Tricks and Tips for using Fixtures effectively in Rails (blog.bigbinary.com)

2019/11/09 10:35AM

The biggest takeaway: don’t use ids unless absolutely necessary. Rely on the autogenerated, deterministic ids, and you get a bunch of behavior for free.