aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/validations
Commit message (Expand)AuthorAgeFilesLines
...
| * | | | 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
|\
| * 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