module CustomAttributes::ClassMethods

Public Instance Methods

add_allowed_custom_attribute() click to toggle source
# File lib/custom_attributes.rb, line 37
def add_allowed_custom_attribute
  
end
allowed_custom_attributes() click to toggle source
# File lib/custom_attributes.rb, line 32
def allowed_custom_attributes
  #TODO: rename owner_class to owner_type
  CustomAttribute.where(owner_class: self)
end