instance method
stored_attributes
Ruby on Rails 8.0.4
Since v4.0.13Signature
stored_attributes()
No documentation comment.
Source
# File activerecord/lib/active_record/store.rb, line 199
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 199
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Store::ClassMethods