Module: CustomAttributes::ClassMethods
- Defined in:
- lib/custom_attributes.rb
Instance Method Summary collapse
Instance Method Details
#add_allowed_custom_attribute ⇒ Object
37 38 39 |
# File 'lib/custom_attributes.rb', line 37 def add_allowed_custom_attribute end |
#allowed_custom_attributes ⇒ Object
32 33 34 35 |
# File 'lib/custom_attributes.rb', line 32 def allowed_custom_attributes #TODO: rename owner_class to owner_type CustomAttribute.where(owner_class: self) end |