diff options
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 554bec17d6..507e4038cd 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,18 @@ +* Allow fixtures YAML files to set the model class in the file itself. + + To load the fixtures file `accounts.yml` as the `User` model, use: + + ```yaml + _fixture: + model_class: User + david: + name: David + ``` + + Fixes #9516. + + *Roque Pinel* + * Correct query for PostgreSQL 8.2 compatibility. *Ben Murphy*, *Matthew Draper* |