diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-10-03 11:37:10 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-10-03 11:37:10 -0300 |
commit | c48c111bb2aa13d72f5ae6cf7d51a921766c7dfe (patch) | |
tree | 0b8fca50037791e67f8c5534d80bcc59db6114c9 /activemodel/CHANGELOG.md | |
parent | 2dabee25176b6fef7255bbcc1f9641cdd5d6514c (diff) | |
parent | 0e655873d4f41922fa2614919342482b1dbd2343 (diff) | |
download | rails-c48c111bb2aa13d72f5ae6cf7d51a921766c7dfe.tar.gz rails-c48c111bb2aa13d72f5ae6cf7d51a921766c7dfe.tar.bz2 rails-c48c111bb2aa13d72f5ae6cf7d51a921766c7dfe.zip |
Merge pull request #8791 from griffinmyers/master
Updated DirtyModel's @changed_attributes hash to be symbol/string agnostic
Conflicts:
activemodel/CHANGELOG.md
Diffstat (limited to 'activemodel/CHANGELOG.md')
-rw-r--r-- | activemodel/CHANGELOG.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activemodel/CHANGELOG.md b/activemodel/CHANGELOG.md index 91b25d5cda..eb21b69163 100644 --- a/activemodel/CHANGELOG.md +++ b/activemodel/CHANGELOG.md @@ -1,3 +1,8 @@ +* Updated the `ActiveModel::Dirty#changed_attributes` method to be indifferent between using + symbols and strings as keys. + + *William Myers* + * Added new API methods `reset_changes` and `changed_applied` to `ActiveModel::Dirty` that control changes state. Previsously you needed to update internal instance variables, but now API methods are available. |