aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/other_posts.yml
Commit message (Collapse)AuthorAgeFilesLines
* Set counter caches to correct values in fixturesBogdan Gusiev2017-11-081-0/+1
|
* Merge pull request #20574 from repinel/fix-db-fixtures-loadYves Senn2015-09-301-1/+0
| | | | | | | Allow fixtures YAML files to set the model class in the file itself Conflicts: activerecord/CHANGELOG.md
* Allow fixtures YAML files to set the model class in the file itselfRoque Pinel2015-09-111-0/+8
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`).