method

check_validity!

Importance_0
v3.0.0 - Show latest stable - 0 notes - Class: ActiveModel::Validations::ExclusionValidator
check_validity!() public

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/exclusion.rb, line 6
      def check_validity!
        raise ArgumentError, "An object with the method include? is required must be supplied as the " <<
                             ":in option of the configuration hash" unless options[:in].respond_to?(:include?)
      end
Register or log in to add new notes.