Fixtures in real life, part 1
![]() |
| If you came here looking for these kind of fixtures, good luck on the way out ;) |
This post is part of an ongoing feature about creating a social network in Rails.
There’s lots of posts around about Rails fixtures, with critiques ranging from “[they’re] great!”, “they hurt a little early, but shine with complexity”, all the way to “do not use fixtures”. Few topics split the Rails community more, the eternal Rspec vs Minitest debate comes to mind.
However, something that I’ve found lacking in most of these fixtures posts are insights of:
- how fixtures fare in a real life app,
- how do they coexist with factories and plain objects, and
- what growth strategies to follow that will help you out in the long run.
That’s what we’re about to tackle on this post.
Read more »
