method

acceptable_option?

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: ActiveModel::Validations::AcceptanceValidator
acceptable_option?(value) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activemodel/lib/active_model/validations/acceptance.rb, line 23
        def acceptable_option?(value)
          Array(options[:accept]).include?(value)
        end
Register or log in to add new notes.