Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Set counter caches to correct values in fixtures | Bogdan Gusiev | 2017-11-08 | 1 | -0/+1 |
| | |||||
* | Merge pull request #20574 from repinel/fix-db-fixtures-load | Yves Senn | 2015-09-30 | 1 | -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 itself | Roque Pinel | 2015-09-11 | 1 | -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`). |