aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/validations
Commit message (Expand)AuthorAgeFilesLines
* add missing parentheses to validates_with documentation [skip ci]Steve Agalloco2014-04-041-1/+1
* Fix some validators when used on model instanceEric Hutzelman2014-02-261-0/+2
* revises references to :allow_(nil|blank) in some docs [ci skip] [Steven Yang ...Xavier Noria2014-01-269-24/+12
* doc proc/lambda arg on inclusion validation. Closes #13689. [ci skip]Yves Senn2014-01-131-1/+2
* Adding missing backslashes in active_model files so as to avoid unwanted link...aditya-kapoor2013-12-272-2/+2
* fix email regex example code [ci skip]Angelo capilleri2013-12-031-1/+1
* Remove short circuit return in favor of simple conditionalCarlos Antonio da Silva2013-11-151-4/+7
* Invert conditional to avoid double checking for RegexpCarlos Antonio da Silva2013-11-151-11/+12
* Only check that the option exists once instead of doing on each conditionalCarlos Antonio da Silva2013-11-151-8/+9
* Remove argument that is accessible as attributeCarlos Antonio da Silva2013-11-151-3/+3
* Cache regexp source on format validation to avoid allocating new objectsCarlos Antonio da Silva2013-11-151-2/+2
* Make code simpler to read by using a case statementCarlos Antonio da Silva2013-11-151-2/+6
* Avoid a new hash allocationCarlos Antonio da Silva2013-11-151-1/+1
* Use a simple conditional rather than short circuit with nextCarlos Antonio da Silva2013-11-151-2/+3
* Simplify number parsing logic in numericality validationCarlos Antonio da Silva2013-11-151-10/+3
* Avoid creation of extra hash with merge just to set a valueCarlos Antonio da Silva2013-11-151-1/+3
* Let validates_inclusion_of accept Time and DateTime rangesAkira Matsuda2013-10-231-5/+11
* remove evals from AM::Validations::CallbacksSteven Yang2013-06-301-1/+3
* provide a more sementicthe local variables name for ActiveModel::Validations:...Steven Yang2013-06-291-8/+8
* Use Range#cover? for Numeric ranges (tests via endpoints) and use Range#inclu...Charles Bergeron2013-05-272-4/+5
* deprecate Validator#setup (to get rid of a respond_to call). validators do th...Nick Sutterer2013-05-233-3/+12
* deprecating string based terminatorsAaron Patterson2013-05-141-1/+4
* Convert ActiveModel to 1.9 hash syntax.Patrick Robertson2013-05-019-15/+15
* `validates_confirmation_of` does not override writer methods.Yves Senn2013-03-041-1/+5
* Reduce number of Strings a bitAkira Matsuda2013-01-072-3/+3
* 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
|/