aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/validations.rb
Commit message (Expand)AuthorAgeFilesLines
* Use frozen string literal in activemodel/Kir Shatrov2017-07-161-0/+2
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Add option for class_attribute default (#29270)David Heinemeier Hansson2017-05-291-2/+1
* Define path with __dir__bogdanvlviv2017-05-231-1/+1
* Improving docs for callbacks execution order [ci skip]dixpac2017-05-211-0/+3
* Privatize unneededly protected methods in Active ModelAkira Matsuda2016-12-241-3/+3
* Merge pull request #26905 from bogdanvlviv/docsAndrew White2016-11-131-2/+2
|\
| * Add missing `+` around a some literals.bogdanvlviv2016-10-271-2/+2
* | Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-1/+1
|/
* applies remaining conventions across the projectXavier Noria2016-08-061-1/+0
* applies new string literal convention in activemodel/libXavier Noria2016-08-061-3/+3
* [ci skip] Remove duplicate alias documentation in ActiveModel::ValidationsAlex Kitchens2016-06-161-2/+0
* Eliminate instance level writers for class accessorsAaron Patterson2016-01-221-1/+2
* Validate multiple contexts on `valid?` and `invalid?` at once.Dmitry Polushkin2015-09-071-1/+1
* Revert "Merge pull request #21069 from dmitry/feature/validate-multiple-conte...Rafael Mendonça França2015-09-071-1/+1
* Validate multiple contexts on `valid?` and `invalid?` at once.Dmitry Polushkin2015-07-301-1/+1
* Revert "Revert "Reduce allocations when running AR callbacks.""Guo Xiang Tan2015-07-161-1/+1
* docs, clarify the meanaing of return values from validation methods.Yves Senn2015-07-071-0/+3
* docs, remove accidental :nodoc: of ActiveModel::Validations::ClassMethods met...Yves Senn2015-07-071-2/+1
* Don't document private internal constant [ci skip]Zachary Scott2015-04-261-0/+1
* Revert "Reduce allocations when running AR callbacks."Guo Xiang Tan2015-03-221-1/+1
* 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