diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-11-06 16:59:07 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-11-06 16:59:07 -0200 |
commit | 9a517b5a0b97b8872af1e66b2a5e3fd765f0d0a1 (patch) | |
tree | 6da33261cf4be60337b84b49e30d5645c825d7f3 | |
parent | 001b270611cd9cb653124775899bdbc2548333ab (diff) | |
parent | eb05774531ffef41f3919dabb5b5a3a4ea723a04 (diff) | |
download | rails-9a517b5a0b97b8872af1e66b2a5e3fd765f0d0a1.tar.gz rails-9a517b5a0b97b8872af1e66b2a5e3fd765f0d0a1.tar.bz2 rails-9a517b5a0b97b8872af1e66b2a5e3fd765f0d0a1.zip |
Merge pull request #17545 from marzapower/dirty_public_api
[Enh] Made the ActiveModel::Dirty#clear_attribute_changes method public
-rw-r--r-- | activemodel/lib/active_model/dirty.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/dirty.rb b/activemodel/lib/active_model/dirty.rb index ae185694ca..4e389c8692 100644 --- a/activemodel/lib/active_model/dirty.rb +++ b/activemodel/lib/active_model/dirty.rb @@ -255,7 +255,7 @@ module ActiveModel end # Remove changes information for the provided attributes. - def clear_attribute_changes(attributes) + def clear_attribute_changes(attributes) # :doc: attributes_changed_by_setter.except!(*attributes) end end |