diff options
author | Fernando Tapia Rico <fertapric@gmail.com> | 2015-04-21 18:56:43 +0200 |
---|---|---|
committer | Fernando Tapia Rico <fertapric@gmail.com> | 2015-04-21 19:30:46 +0200 |
commit | f072db8e4fb34cfd50840e8bf84fe90340cad5fe (patch) | |
tree | 9f0310fb93006c778cb00e7bcb71efc117ea74d2 /actionpack/CHANGELOG.md | |
parent | b12abe673306f2b5298b7a296c74ddc9061d2fec (diff) | |
download | rails-f072db8e4fb34cfd50840e8bf84fe90340cad5fe.tar.gz rails-f072db8e4fb34cfd50840e8bf84fe90340cad5fe.tar.bz2 rails-f072db8e4fb34cfd50840e8bf84fe90340cad5fe.zip |
Add `ActiveModel::Dirty#[attr_name]_previously_changed?` and
`ActiveModel::Dirty#[attr_name]_previous_change` to improve access
to recorded changes after the model has been saved.
It makes the dirty-attributes query methods consistent before and after
saving.
Diffstat (limited to 'actionpack/CHANGELOG.md')
0 files changed, 0 insertions, 0 deletions