Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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`). |