> I don't think this is actually good practice. Hardcoding primary and foreign keys is time consuming and very fragile. I think you can actually pass the fixture name instead:

You [are rights](http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html#label-Label+references+for+associations+%28belongs_to%2C+has_one%2C+has_many%29) but its seems not to work with Rails 4.

> I'd also consider adding some links to thoughtbot/factory_girl and rdy/fixture_builder as more advanced optionsfor those who may need them.

It's still the case at the end of the guide (with FactoryGirl and Machinist).