aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/attribute_methods.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-07-15 16:12:23 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-07-15 18:09:38 -0300
commit41fb06fa47b0c11d6b943163ec1bc8ce9fd4d229 (patch)
tree8273991bd00e5b3b47d0994630b9d6875f5abdc6 /activemodel/lib/active_model/attribute_methods.rb
parent66d0a0153578ce760d822580c5b8c0b726042ac2 (diff)
downloadrails-41fb06fa47b0c11d6b943163ec1bc8ce9fd4d229.tar.gz
rails-41fb06fa47b0c11d6b943163ec1bc8ce9fd4d229.tar.bz2
rails-41fb06fa47b0c11d6b943163ec1bc8ce9fd4d229.zip
Deprecate `reset_#{attribute}` in favor of `restore_#{attribute}`.
These methods may cause confusion with the `reset_changes` that behaves differently of them. Also rename undo_changes to restore_changes to match this new set of methods.
Diffstat (limited to 'activemodel/lib/active_model/attribute_methods.rb')
0 files changed, 0 insertions, 0 deletions