aboutsummaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorFernando Tapia Rico <fertapric@gmail.com>2015-04-21 18:56:43 +0200
committerFernando Tapia Rico <fertapric@gmail.com>2015-04-21 19:30:46 +0200
commitf072db8e4fb34cfd50840e8bf84fe90340cad5fe (patch)
tree9f0310fb93006c778cb00e7bcb71efc117ea74d2 /Rakefile
parentb12abe673306f2b5298b7a296c74ddc9061d2fec (diff)
downloadrails-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 'Rakefile')
0 files changed, 0 insertions, 0 deletions