Class: ActiveModel::Validations::LengthValidator

Inherits:
Object
  • Object
show all
Defined in:
lib/client_side_validations/rails_2/active_record/active_model/validations/length.rb

Constant Summary collapse

MESSAGES =
{ :is => :wrong_length, :minimum => :too_short, :maximum => :too_long, :in => :wrong_length, :within => :wrong_length }.freeze