instance method
clear_changed_attributes_cache
Ruby on Rails 5.1.7
Since v5.1.7 Last seen in v5.1.7 Private — implementation detail, not part of the public APISignature
clear_changed_attributes_cache()
No documentation comment.
Source
# File activerecord/lib/active_record/attribute_methods/dirty.rb, line 329
def clear_changed_attributes_cache
remove_instance_variable(:@cached_changed_attributes) if defined?(@cached_changed_attributes)
end
Defined in activerecord/lib/active_record/attribute_methods/dirty.rb line 329
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::AttributeMethods::Dirty