Constructor Details

Instance Method Details

# File 'activemodel/lib/active_model/validations/inclusion.rb', line 6defcheck_validity!raiseArgumentError,"An object with the method include? is required must be supplied as the "<<":in option of the configuration hash"unlessoptions[:in].respond_to?(:include?)end