aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/object
diff options
context:
space:
mode:
authorRoque Pinel <repinel@gmail.com>2015-06-15 23:16:39 -0400
committerRoque Pinel <repinel@gmail.com>2015-09-11 14:29:06 -0400
commit2acec4657752d441ab87b9f5862d7918843d6409 (patch)
tree8c838ca318721dd615165b498e1bd74bd17cc1cf /activesupport/test/core_ext/object
parentbbf0d35bf6148752911c1da4b7449450faea8755 (diff)
downloadrails-2acec4657752d441ab87b9f5862d7918843d6409.tar.gz
rails-2acec4657752d441ab87b9f5862d7918843d6409.tar.bz2
rails-2acec4657752d441ab87b9f5862d7918843d6409.zip
Allow fixtures YAML files to set the model class in the file itself
Currently, `set_fixture_class` is only available using the `TestFixtures` concern and it is ignored for `rake db:fixtures:load`. Using the correct model class, it is possible for the fixture load to also load the associations from the YAML files (e.g., `:belongs_to` and `:has_many`).
Diffstat (limited to 'activesupport/test/core_ext/object')
0 files changed, 0 insertions, 0 deletions