Class: ActiveModel::Validations::NumericalityValidator
- Inherits:
-
Object
- Object
- ActiveModel::Validations::NumericalityValidator
- Defined in:
- lib/client_side_validations/rails_2/active_record/active_model/validations/numericality.rb
Constant Summary collapse
- CHECKS =
{ :greater_than => :>, :greater_than_or_equal_to => :>=, :equal_to => :==, :less_than => :<, :less_than_or_equal_to => :<=, :odd => :odd?, :even => :even? }.freeze