diff options
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index a1bef4aa93..e0e107e89d 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,10 +1,7 @@ * `AR::UnknownAttributeError` now includes the class name of a record. - This would be helpful if 2 models have an attribute that has a similar - name to the other one. e.g.: - User.new(name: "Yuki Nishijima", project_attributes: {name: "kaminari"}) - # => ActiveRecord::UnknownAttributeError: unknown attribute on User: name + # => ActiveRecord::UnknownAttributeError: unknown attribute 'name' for User. *Yuki Nishijima* |