diff options
author | Akshay Vishnoi <akshay.vishnoi@vinsol.com> | 2014-09-18 02:57:13 +0530 |
---|---|---|
committer | Akshay Vishnoi <akshay.vishnoi@vinsol.com> | 2014-09-18 02:57:13 +0530 |
commit | 57a893b54a7364ed919c7e49e81ab245e25b5e16 (patch) | |
tree | 3c00dad19023da9808bbf673edd98d50d3eef8aa /activemodel | |
parent | f92ac245bd283e889eaefd32f2701d407cb00126 (diff) | |
download | rails-57a893b54a7364ed919c7e49e81ab245e25b5e16.tar.gz rails-57a893b54a7364ed919c7e49e81ab245e25b5e16.tar.bz2 rails-57a893b54a7364ed919c7e49e81ab245e25b5e16.zip |
[ci skip] ActiveModel CHANGELOG docs fixes
Diffstat (limited to 'activemodel')
-rw-r--r-- | activemodel/CHANGELOG.md | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/activemodel/CHANGELOG.md b/activemodel/CHANGELOG.md index c14b0688c7..5588699d9b 100644 --- a/activemodel/CHANGELOG.md +++ b/activemodel/CHANGELOG.md @@ -12,18 +12,21 @@ * Deprecate `reset_#{attribute}` in favor of `restore_#{attribute}`. - These methods may cause confusion with the `reset_changes` that behaves differently - of them. + These methods may cause confusion with the `reset_changes`, which has + different behaviour. + + *Rafael Mendonça França* * Deprecate `ActiveModel::Dirty#reset_changes` in favor of `#clear_changes_information`. - This method name is causing confusion with the `reset_#{attribute}` - methods. While `reset_name` set the value of the name attribute for the - previous value `reset_changes` only discard the changes and previous - changes. + Method's name is causing confusion with the `reset_#{attribute}` methods. + While `reset_name` sets the value of the name attribute to previous value + `reset_changes` only discards the changes. + + *Rafael Mendonça França* -* Added `restore_attributes` method to `ActiveModel::Dirty` API to restore all the - changed values to the previous data. +* Added `restore_attributes` method to `ActiveModel::Dirty` API which restores + the value of changed attributes to previous value. *Igor G.* |