# File lib/enumerize/hooks/uniqueness.rb, line 12 def validate_each_with_enumerize(record, name, value) if record.class.respond_to?(:enumerized_attributes) && (attr = record.class.enumerized_attributes[name]) value = attr.find_value(value).try(:value) end validate_each_without_enumerize(record, name, value) end
Generated with the Darkfish Rdoc Generator 2.