instance method
stored_attributes
Ruby on Rails 5.2.8.1
Since v4.0.13Signature
stored_attributes()
No documentation comment.
Source
# File activerecord/lib/active_record/store.rb, line 117
def stored_attributes
parent = superclass.respond_to?(:stored_attributes) ? superclass.stored_attributes : {}
if local_stored_attributes
parent.merge!(local_stored_attributes) { |k, a, b| a | b }
end
parent
end
Defined in activerecord/lib/active_record/store.rb line 117
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Store::ClassMethods