aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/validations/length.rb
Commit message (Expand)AuthorAgeFilesLines
* Length validation handles correctly nil. Fix #7180Michal Zima2012-11-261-2/+14
* minor edits in AM documentation [ci skip]Francesco Rodriguez2012-10-211-3/+3
* calculate errors_options one time in validate_eachAngelo Capilleri2012-08-031-2/+2
* AM::Validations: remove documentation duplicatesBogdan Gusiev2012-07-101-14/+4
* fix syntax of AM::Validations::HelperMethods examples [ci skip]Francesco Rodriguez2012-07-051-3/+3
* update ActiveModel::Validations::HelperMethods documentation [ci skip]Francesco Rodriguez2012-07-051-24/+26
* add :nodoc: to internal implementations [ci skip]Francesco Rodriguez2012-06-251-1/+1
* fixing removed empty lines and examplesFrancesco Rodriguez2012-05-161-0/+1
* better format and fixes to validators docsFrancesco Rodriguez2012-05-161-17/+27
* Prefer || over 'or' for boolean operationsBenjamin Quorning2012-02-221-1/+1
* remove unnecessary require core_ext/string/encodingSergey Nartimov2012-02-141-2/+0
* To infinity… and beyond!Niels Ganser2012-02-061-2/+2
* don't call an extra method if options[:tokenizer] is not presentVasiliy Ermolovich2011-12-241-4/+2
* use Range#min and Range#max to reduce extra statementVasiliy Ermolovich2011-12-241-2/+1
* deprecate String#encoding_aware? and remove its usageSergey Nartimov2011-12-241-2/+0
* Ensure length validator also works on 1.8.7.José Valim2011-12-061-6/+17
* Don't tokenize string when counting charactersIan Young2011-12-041-2/+1
* Fix argument error message for length validationAlexey Vakhov2011-12-011-1/+1
* Implemented strict validation conceptBogdan Gusiev2011-08-171-0/+2
* remove stray (Vijay Dev2011-06-031-1/+1
* Change hashrocket spacing to match conventions.Ben Orenstein2011-06-021-2/+2
* Remove extra white spaces on ActiveModel docs.Sebastian Martinez2011-05-231-3/+3
* Don't add DEFAULT_TOKENIZER to every instance of LengthValidator. Just use it...Akira Matsuda2011-05-161-2/+2
* Refactor length validationSantiago Pastorino2011-03-121-3/+3
* length validation for fixnumsAndriy Tyurnikov2011-03-121-1/+2
* copy-edits 8d96b89Xavier Noria2011-02-211-1/+3
* Clarification of ActiveRecord ActiveModel validation documentationPeer Allan2011-02-181-1/+1
* Deletes trailing whitespaces (over text files only find * -type f -exec sed '...Santiago Pastorino2010-08-141-1/+1
* tidy up validations length code [#5297 state:resolved]Subba Rao Pasupuleti2010-08-121-6/+2
* validates_length_of should not change the options hash in place. [#5283 state...José Valim2010-08-031-4/+7
* Refactor previous commit a bit [#4057 state:resolved]José Valim2010-06-211-2/+2
* Make ActiveModel::Errors#add_on_blank and #add_on_empty accept an options has...Jeroen van Dijk2010-06-211-2/+6
* Add titles to the rest of the files in active_model/validations/*Rizwan Reza2010-06-151-0/+2
* Revert "Make ActiveModel::Errors#add_on_blank and #add_on_empty accept an opt...José Valim2010-05-151-2/+2
* Make ActiveModel::Errors#add_on_blank and #add_on_empty accept an options has...Jeroen van Dijk2010-05-151-2/+2
* validation macros can now be used within an instanceJosh Kalderimis2010-05-131-1/+1
* Favor %{} in all code instead of (deprecated) {{}} as interpolation syntax fo...Lawrence Pit2010-05-031-3/+3
* Merge remote branch 'mainstream/master'Pratik Naik2010-01-171-44/+25
|\
| * Compile length validator options still at the class level, so whenever the va...José Valim2010-01-081-42/+24
| * Add validates method as shortcut to setup validators for a given set of attri...jamie2010-01-071-2/+1
* | Merge remote branch 'mainstream/master'Pratik Naik2010-01-041-57/+72
|\|
| * ActiveRecord::Validations are now built on top of Validator as well.José Valim2009-12-231-2/+1
| * validates_each uses a BlockValidator.José Valim2009-12-231-4/+3
| * Added check_validity! to EachValidator and refactor existing ones.José Valim2009-12-231-27/+37
| * Move validations in ActiveModel to validators, however all validatity checks ...José Valim2009-12-231-42/+49
* | Clean up documentation on validates_length_of and change overly juvenile exam...Mike Gunderloy2009-09-151-4/+4
|/
* Fix exclusive range patch to use begin/end instead of min/max. [#2981 status:...Adam Keys2009-08-081-4/+8
* Simplyfy validates_length_of and remove putsPratik Naik2009-08-081-4/+7
* validates_length_of with maximum should allow nil [#2309 status:resolved]jzw2009-08-081-2/+4
* Properly require ActiveModel validation dependenciesJoshua Peek2009-06-081-2/+2