Method: Model#all_record_fields
- Defined in:
- lib/yodel/models/core/model/model.rb
#all_record_fields ⇒ Object
181 182 183 184 185 |
# File 'lib/yodel/models/core/model/model.rb', line 181 def all_record_fields parents_and_mixins.each_with_object({}) do |ancestor, fields| fields.merge! ancestor.record_fields # FIXME: should this be record_fields or all_record_fields? end end |