aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/validations/callbacks.rb
Commit message (Expand)AuthorAgeFilesLines
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-131-1/+0
* Refactor to `Array(options[:on])` only once in defining validationsRyuta Kamizono2018-01-011-8/+10
* Fix validation callbacks on multiple contextYoshiyuki Hirano2017-12-201-9/+13
* 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
* Remove deprecated behavior that halts callbacks when the return is falseRafael Mendonça França2017-02-071-1/+0
* Privatize unneededly protected methods in Active ModelAkira Matsuda2016-12-241-2/+2
* - removing redundant 'happens' in documentation [ci skip]Mohit Natoo2016-05-191-4/+2
* Fix the AS::Callbacks terminator regression from 4.2.3Roque Pinel2015-09-221-0/+1
* Revert "Revert "Reduce allocations when running AR callbacks.""Guo Xiang Tan2015-07-161-1/+1
* Revert "Reduce allocations when running AR callbacks."Guo Xiang Tan2015-03-221-1/+1
* Deprecate `false` as the way to halt AM validation callbacksclaudiob2015-01-021-3/+2
* Throw :abort halts default CallbackChainsclaudiob2015-01-021-1/+1
* Prefix internal method with _Rafael Mendonça França2014-10-251-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
* Adding missing backslashes in active_model files so as to avoid unwanted link...aditya-kapoor2013-12-271-1/+1
* remove evals from AM::Validations::CallbacksSteven Yang2013-06-301-1/+3
* deprecating string based terminatorsAaron Patterson2013-05-141-1/+4
* Convert ActiveModel to 1.9 hash syntax.Patrick Robertson2013-05-011-1/+1
* cleanup, removed dispensable `require` statements from `ActiveModel`Yves Senn2012-11-251-2/+0
* cleanup, remove broken whitespaceYves Senn2012-11-251-2/+2
* minor edits in AM documentation [ci skip]Francesco Rodriguez2012-10-211-1/+1
* 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
* 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
* fix ActiveModel::Validations::Callbacks docJan Xie2012-04-151-1/+2
* AS::Callbacks: :skip_after_callbacks_if_terminated optionBogdan Gusiev2012-02-031-2/+1
* Remove Array.wrap call in ActiveModelRafael Mendonça França2012-01-061-2/+2
* fix typoAditya Sanghi2011-04-291-1/+1
* :if should not fire on validations when not in context with :onAditya Sanghi2011-04-291-2/+2
* Use run_callbacks; the generated _run_<name>_callbacks method is not a public...John Firebaugh2011-01-311-1/+1
* type fixedSantiago Pastorino2010-08-221-1/+1
* after_validation should be called irrespective of the result of validation.Neeraj Singh2010-08-201-1/+1
* ActiveModel::Validations::Callbacks should not be required by default.José Valim2010-06-191-12/+5
* moving before_validation and after_validation functionality from ActiveRecord...Neeraj Singh2010-06-191-0/+64