aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/validations
Commit message (Expand)AuthorAgeFilesLines
* Revert the change at ActiveModel::Errors#add_on_blank and fix in theRafael Mendonça França2012-12-261-2/+2
* Use :present as key for the absence validatior messageRafael Mendonça França2012-12-211-1/+1
* Remove ActiveModel::Errors#add_on_present method.Rafael Mendonça França2012-12-211-2/+2
* Add `ActiveModel::Validations::AbsenceValidator`, a validator to check the a...Roberto Vasquez Angel2012-12-151-0/+31
* Merge pull request #7282 from xHire/validates_length_of_fixRafael Mendonça França2012-11-261-2/+14
|\
| * Length validation handles correctly nil. Fix #7180Michal Zima2012-11-261-2/+14
* | cleanup, removed dispensable `require` statements from `ActiveModel`Yves Senn2012-11-251-2/+0
* | cleanup, remove broken whitespaceYves Senn2012-11-251-2/+2
|/
* Set hash value instead of using merge!Carlos Antonio da Silva2012-11-041-1/+1
* minor edits and remove mixed titles in AM::Validations docs [ci skip]Francesco Rodriguez2012-10-259-21/+13
* minor edits in AM documentation [ci skip]Francesco Rodriguez2012-10-218-12/+12
* Switch to using include? on validation callbacksJohn Foley2012-09-231-2/+2
* Fix collisions with before and after validation callbacks.John Foley2012-09-231-2/+6
* remove '.rb' from require callNihad Abbasov2012-09-121-1/+1
* Added forgotten :message option to ActiveModel validates documentationAnatoly Makarevich2012-09-071-3/+3
* Accept a symbol for `:in` option on inclusion and exclusion validatorsGabriel Sobrinho2012-08-243-5/+14
* AM::Validation#validates: ability to pass custom exception to `:strict` optionBogdan Gusiev2012-08-061-2/+5
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-08-043-65/+130
|\
| * fix #after_validation example [ci skip]Francesco Rodriguez2012-07-301-1/+1
| * update ActiveModel::Validations::Callbacks documentation [ci skip]Francesco Rodriguez2012-07-291-18/+69
| * update #validates and #validates! documentation [ci skip]Francesco Rodriguez2012-07-291-31/+43
| * update ActiveModel::Valdations#validates_with docs [ci skip]Francesco Rodriguez2012-07-291-16/+18
* | Merge pull request #7253 from acapilleri/lenght_validator_errors_optionsRafael Mendonça França2012-08-031-2/+2
|\ \
| * | calculate errors_options one time in validate_eachAngelo Capilleri2012-08-031-2/+2
| |/
* / load active_support/core_ext/object/blank in active_support/railsXavier Noria2012-08-021-1/+0
|/
* Update documentation and change the range method name to delimiter.Rafael Mendonça França2012-07-203-5/+7
* Don't pass `:within` option to the i18nRafael Mendonça França2012-07-202-2/+2
* `validates_inclusion_of` and `validates_exclusion_of` now acceptRafael Mendonça França2012-07-201-3/+6
* AM::Validations: remove documentation duplicatesBogdan Gusiev2012-07-109-119/+52
* add :nodoc: to internal implementations of AM::Validator [ci skip]Francesco Rodriguez2012-07-061-1/+1
* fix syntax of AM::Validations::HelperMethods examples [ci skip]Francesco Rodriguez2012-07-054-6/+6
* update ActiveModel::Validations::HelperMethods documentation [ci skip]Francesco Rodriguez2012-07-058-130/+141
* Use default + merge! instead of reverse_mergeCarlos Antonio da Silva2012-06-261-1/+1
* Set hash value instead of merge a single key, and use flatten! if possibleCarlos Antonio da Silva2012-06-261-2/+4
* add :nodoc: to internal implementations [ci skip]Francesco Rodriguez2012-06-259-16/+16
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-06-142-4/+3
|\
| * Range#cover? is not implemented in AS nowAkira Matsuda2012-06-122-4/+3
* | prevent users from unknowingly using bad regexps that can compromise security...MrBrdo2012-06-141-3/+20
|/
* Don't enable validations when passing false hash values to ActiveModel.validatesSteve Purcell2012-05-281-0/+1
* fixing removed empty lines and examplesFrancesco Rodriguez2012-05-168-6/+11
* fixing validates_with docsFrancesco Rodriguez2012-05-161-6/+4
* better format and fixes to validators docsFrancesco Rodriguez2012-05-168-104/+154
* better example format in validates_exclusion_of docsFrancesco Rodriguez2012-05-161-2/+2
* Merge pull request #5942 from bcardarella/confirmation_error_message_on_confi...Aaron Patterson2012-04-291-1/+2
|\
| * Support i18n attributes for confirmationBrian Cardarella2012-04-241-1/+2
| * confirmation validation error attributeBrian Cardarella2012-04-231-1/+1
* | minor docs improvementsOscar Del Ben2012-04-261-3/+3
|/
* fix ActiveModel::Validations::Callbacks docJan Xie2012-04-151-1/+2
* Remove code duplication in InclusionValidator and ExclusionValidator.Rafael Mendonça França2012-03-283-44/+39
* Prefer || over 'or' for boolean operationsBenjamin Quorning2012-02-221-1/+1