aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/validations
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #17144 from skojin/patch-doc-validation-format-z-regexpRafael Mendonça França2015-02-201-1/+1
|\
| * fix mistype in doc about \z regexpSergey Kojin2014-10-021-1/+1
* | Tiny documentation edits [ci skip]Robin Dupret2015-02-151-4/+6
* | Merge pull request #16381 from kakipo/validate-length-tokenizerRafael Mendonça França2015-02-131-7/+11
|\ \
| * | Allow symbol as values for `tokenize` of `LengthValidator`kakipo2014-08-031-7/+11
* | | allow '1' or true for acceptance validation.mo khan2015-01-101-2/+6
* | | Merge pull request #17227 from claudiob/explicitly-abort-callbacksRafael Mendonça França2015-01-031-3/+2
|\ \ \
| * | | Deprecate `false` as the way to halt AM validation callbacksclaudiob2015-01-021-3/+2
| * | | Throw :abort halts default CallbackChainsclaudiob2015-01-021-1/+1
* | | | Use Active Model, not ActiveModel in plain Englishclaudiob2015-01-021-1/+1
|/ / /
* | | Ensure numericality validations work with mutationSean Griffin2014-12-011-0/+11
* | | add missing space.[ci skip]Kuldeep Aggarwal2014-11-011-1/+1
* | | Prefix internal method with _Rafael Mendonça França2014-10-251-1/+1
* | | Merge pull request #16409 from justinweiss/update_validation_context_document...Zachary Scott2014-10-032-5/+10
|\ \ \
| * | | Add a note on custom validation contexts.Justin Weiss2014-08-052-5/+10
| |/ /
* | / Disallow appended newlines when parsing as integerMichael Genereux2014-10-021-1/+1
| |/ |/|
* | Refactor callback setup in to use lambda instead of evalPablo Herrero2014-09-301-2/+4
* | Reduce allocations when running AR callbacks.Pete Higgins2014-09-281-1/+1
* | Update documentation to match change in #5942 [ci skip]edogawaconan2014-08-241-1/+1
|/
* `only_integer` of `NumericalityValidator` now allows procs and symbolsRobin Mehner2014-06-221-1/+13
* 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
|\