aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/errors.rb
Commit message (Expand)AuthorAgeFilesLines
* Pass over all Rails 5 warnings, to make sure:Vipul A M2016-04-121-2/+2
* Allow passing record being validated to error message generatorPrathamesh Sonpatki2016-04-051-1/+2
* Do not create a hash key when calling ActiveModel::Errors#include?Esteban Pastorino2016-03-241-1/+1
* Remove unused parameter from methodJon Moss2016-02-171-2/+2
* Add documentation about method to describe how it works [ci skip]Mehmet Emin İNAÇ2016-02-041-0/+9
* `ActiveRecord::Base#becomes` should copy the errorsVokhmin Alexey V2015-12-141-0/+12
* File encoding is defaulted to utf-8 in Ruby >= 2.1Akira Matsuda2015-09-181-2/+0
* formatting changesunknown2015-05-291-3/+3
* Adds/Corrects use case for adding an error messageZamith2015-05-041-1/+1
* Merge pull request #19021 from morgoth/activemodel-errors-refactoringRafael Mendonça França2015-03-301-24/+4
|\
| * Simplify and alias ActiveModel::Errors methods where possibleWojciech Wnętrzak2015-02-201-24/+4
* | Fix ActiveModel::Errors#delete return value to stay backward compatibleRadan Skoric2015-03-221-7/+7
* | Fix ActiveModel::Errors deprecation messages failing when used on its ownRadan Skoric2015-03-211-0/+1
* | Merge pull request #19077 from robin850/unknown-attribute-errorSean Griffin2015-03-021-0/+11
|\ \
| * | Follow-up to #10776Robin Dupret2015-02-261-0/+11
* | | Removed non-standard and unused require 'active_support/deprecation' from par...Vipul A M2015-02-271-1/+0
|/ /
* / Change the deprecation messages to show the preferred way to work withRafael Mendonça França2015-02-201-6/+6
|/
* Merge pull request #18996 from morgoth/deprecate-more-errors-methodsYves Senn2015-02-191-0/+16
|\
| * Deprecate `ActiveModel::Errors` `add_on_empty` and `add_on_blank` methodsWojciech Wnętrzak2015-02-191-0/+14
|/
* Deprecate `ActiveModel::Errors` `get`, `set` and `[]=` methods.Wojciech Wnętrzak2015-02-011-9/+28
* Fixed duplicating ActiveModel::Errors#detailsWojciech Wnętrzak2015-01-241-1/+2
* Add ActiveModel::Errors#detailsWojciech Wnętrzak2015-01-201-20/+37
* Fix error messages scope [skip ci]Anton Davydov2015-01-121-2/+2
* Fix inaccurate docs in active_model errors [ci skip]Robson Marques2014-12-221-2/+2
* Add #key? to ActiveModel::ErrorsGarry Shutler2014-10-141-0/+2
* Using `each_with_object` instead of `reduce`Attila Domokos2014-08-221-2/+2
* Replacing an each with reduceAttila Domokos2014-08-211-4/+2
* Merge pull request #15889 from carnesmedia/model-nameRafael Mendonça França2014-08-171-1/+1
|\
| * Use #model_name on instances instead of classesAmiel Martin2014-06-241-1/+1
* | [ci skip] Little bit doc code improvement.Santosh Wadghule2014-07-141-1/+1
|/
* Adds explanation of :base attribute to errors.addDavid Underwood2014-03-271-0/+7
* Fix ActiveModel::Errors#has_key? return valueAdrien Coquio2014-01-221-1/+1
* Change all "can not"s to the correct "cannot".T.J. Schuck2014-01-031-20/+20
* Fix few typos and improve markup at some levelsRobin Dupret2013-12-241-2/+2
* Fix: documentation for ActiveModel::ErrorsRyoji Yoshioka2013-08-051-4/+4
* fix typo in ActiveModel::Error docs [ci skip]Steven Yang2013-06-301-1/+1
* make default value for `:message` on `AM::Errors` explicit.Yves Senn2013-06-221-4/+2
* Convert ActiveModel to 1.9 hash syntax.Patrick Robertson2013-05-011-9/+9
* Improve changelog entry for ActiveModel::Errors#full_messages_for [ci skip]Carlos Antonio da Silva2013-03-301-2/+0
* Add a method full_messages_for to the Errors classshock_one2013-03-241-0/+14
* Revert the change at ActiveModel::Errors#add_on_blank and fix in theRafael Mendonça França2012-12-261-7/+1
* Tests and fix for validates_presence of :allow_nil, :allow_blankColin Kelley2012-12-261-1/+7
* Remove ActiveModel::Errors#add_on_present method.Rafael Mendonça França2012-12-211-13/+0
* Add `ActiveModel::Validations::AbsenceValidator`, a validator to check the a...Roberto Vasquez Angel2012-12-151-0/+13
* Replace comments' non-breaking spaces with spacesclaudiob2012-12-041-3/+3
* use Array() instead flattenVasiliy Ermolovich2012-11-051-2/+2
* fix output messages - docs [ci skip]Francesco Rodriguez2012-10-221-16/+16
* convert comments to 1.9 hash syntaxAvnerCohen2012-10-221-11/+11
* minor edits in AM documentation [ci skip]Francesco Rodriguez2012-10-211-1/+1
* AM::Validation#validates: ability to pass custom exception to `:strict` optionBogdan Gusiev2012-08-061-2/+6