Flowdock
method

check_validity!

Importance_0
v3.2.3 - Show latest stable - 0 notes - Class: ActiveModel::Validations::InclusionValidator
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/inclusion.rb, line 11
      def check_validity!
        unless [:include?, :call].any?{ |method| options[:in].respond_to?(method) }
          raise ArgumentError, ERROR_MESSAGE
        end
      end
Register or log in to add new notes.