Method: ActiveRecord::Store::ClassMethods#stored_attributes
- Defined in:
- activerecord/lib/active_record/store.rb
#stored_attributes ⇒ Object
199 200 201 202 203 204 205 |
# 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 |