class ActiveModel::Validations::AcceptanceValidator

def acceptable_option?(value)

def acceptable_option?(value)
  Array(options[:accept]).include?(value)
end