Flowdock
method

acceptable_option?

Importance_0
v5.2.3 - 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.