class Object
Public Instance Methods
get_customizable_class_or_fail(type)
click to toggle source
# File lib/custom_attributes/custom_attributes_api_helper.rb, line 1 def get_customizable_class_or_fail(type) model = type.camelize.constantize return nil unless model.method_defined? :custom_field_values model end