class ActiveModel::BlockValidator
def validate_each(record, attribute, value)
def validate_each(record, attribute, value) @block.call(record, attribute, value) end
def validate_each(record, attribute, value) @block.call(record, attribute, value) end