rails/rails — pull request #16838 by willbryant (2014-09-08 11:45:17+00:00)
Title: fix fixtures not loading if a belongs_to association is defined with a :foreign_key option that's a symbol

This regressed somewhere between 4.1 and 4.2 but making it backwards compatible requires only a tiny fix. Instead of calling to_s again, we should reuse the fk_name already determined.