aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/validations.rb
Commit message (Expand)AuthorAgeFilesLines
* Move the `validate!` method to `ActiveModel::Validations`.Lucas Mazza2015-02-201-0/+33
* Pass through the `prepend` option to `AS::Callback`Godfrey Chan2014-12-121-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-031-4/+6
|\
| * Add a note on custom validation contexts.Justin Weiss2014-08-051-4/+6
* | Refactor callback setup in to use lambda instead of evalPablo Herrero2014-09-301-1/+1
* | Reduce allocations when running AR callbacks.Pete Higgins2014-09-281-1/+1
* | Move the array to a constantGodfrey Chan2014-09-231-3/+4
* | Update error message for validate methodPrathamesh Sonpatki2014-09-201-1/+6
* | Merge pull request #15889 from carnesmedia/model-nameRafael Mendonça França2014-08-171-0/+1
|\ \ | |/ |/|
| * Use #model_name on instances instead of classesAmiel Martin2014-06-241-0/+1
* | %i doesn't work on 1.9Aaron Patterson2014-07-171-1/+1
* | check for valid options in validate methodsonnym2014-07-171-0/+6
|/
* ActiveRecord/ActiveModel '#validate' alias for 'valid?'Henrik Nyh2014-03-271-0/+4
* Fix doc markup of clear_validators!Carlos Antonio da Silva2014-01-271-2/+2
* Ability to specify multiple contexts when defining a validation.Vince Puzzella2014-01-271-5/+9
* revises references to :allow_(nil|blank) in some docs [ci skip] [Steven Yang ...Xavier Noria2014-01-261-2/+0
* Adding missing backslashes in active_model files so as to avoid unwanted link...aditya-kapoor2013-12-271-1/+1
* remove some evals from callback conditionalsAaron Patterson2013-06-111-1/+3
* fix ActiveModel::Validations.validators_on docDaichi Arai2013-06-101-1/+0
* Convert ActiveModel to 1.9 hash syntax.Patrick Robertson2013-05-011-1/+1
* Tidying up some require : removing useless sort and homogenizing with the res...Intrepidd2013-03-201-4/+1
* The repair_validations helper was not working correctly before becausewangjohn2013-03-191-0/+43
* cleanup, removed dispensable `require` statements from `ActiveModel`Yves Senn2012-11-251-3/+0
* convert comments to 1.9 hash syntaxAvnerCohen2012-10-221-5/+5
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-10-211-1/+1
|\
| * minor edits in AM documentation [ci skip]Francesco Rodriguez2012-10-211-1/+1
* | active_model/validations requires necessary files to runYves Senn2012-10-181-0/+1
* | cleanup, replace non-breaking spaces with spacesYves Senn2012-10-181-5/+5
|/
* Use the `flat_map` method.Rafael Mendonça França2012-10-031-2/+2
* Revert "Merge pull request #7826 from sikachu/master-validators-kind"Rafael Mendonça França2012-10-021-14/+1
* Don't use tap in this case.Rafael Mendonça França2012-10-021-5/+7
* Make `.validators_on` accept `:kind` optionPrem Sichanugrist2012-10-021-1/+12
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-08-041-35/+126
|\
| * update ActiveModel::Validations docs [ci skip]Francesco Rodriguez2012-07-291-35/+126
* | load active_support/core_ext/class/attribute in active_support/railsXavier Noria2012-08-021-1/+0
|/
* Set hash value instead of merge a single key, and use flatten! if possibleCarlos Antonio da Silva2012-06-261-2/+1
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-06-221-2/+15
|\
| * fixes a few mistakes in api docs [ci skip]Vijay Dev2012-06-221-1/+1
| * add example to ActiveModel::Validations#validators [ci skip]Francesco Rodriguez2012-06-151-2/+15
* | Simplify AR configuration code.Jon Leighton2012-06-151-2/+1
|/
* Kill whitespaces :scissors:Carlos Antonio da Silva2012-05-151-2/+2
* clean the erros if an object that includes validations errors is duped. Fixes...Angelo Capilleri2012-05-131-0/+6
* minor docs improvementsOscar Del Ben2012-04-261-1/+1
* Add documentation for validate optionsOscar Del Ben2012-04-261-0/+13
* Enhance validations documentationOscar Del Ben2012-04-261-1/+1
* replacing ordered hash to ruby hashprasath2012-02-081-1/+1
* Remove Array.wrap call in ActiveModelRafael Mendonça França2012-01-061-2/+1
* Support configuration on ActiveRecord::Model.Jon Leighton2011-12-281-2/+3
* Remove extra white spaces on ActiveModel docs.Sebastian Martinez2011-05-231-1/+1