aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/errors.rb
Commit message (Expand)AuthorAgeFilesLines
* Ensure attribute is a symbol in the added? methodJeremy Baker2018-07-141-1/+1
* Fix active_model/errors docs [ci skip]bogdanvlviv2018-06-121-1/+1
* Add global config for config.active_model.i18n_full_messageMartin Larochelle2018-06-051-1/+6
* Allow to override the full_message error formatMartin Larochelle2018-05-221-2/+41
* fix bug on added? methodAlessandro Rodi2017-11-131-3/+7
* Simplify ActiveModel::Errors#generate_messageViktar Basharymau2017-08-181-7/+5
* Use frozen string literal in activemodel/Kir Shatrov2017-07-161-0/+2
* Add ActiveModel::Errors#merge!Jahfer Husain2017-07-071-0/+12
* 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
* Fix `warning: extra states are no longer copied`Ryuta Kamizono2017-04-011-4/+4
* Fix ActiveModel::Errors #keys, #valuesbogdanvlviv2017-03-281-11/+6
* Make ActiveModel::Errors backward compatible with 4.2Rafael Mendonça França2016-12-081-2/+9
* Allow indifferent access in ActiveModel::ErrorsKenichi Kamiya2016-11-221-2/+5
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-2/+2
* Removed deprecated methods in ActiveModel::ErrorsRafael Mendonça França2016-10-101-87/+0
* Do not leak the Errors default proc when calling to_hash or as_jsonJean Boussier2016-09-271-1/+1
* Fix typo in deprecation messageGeorg Ledermann2016-08-271-1/+1
* Fix broken alignments caused by auto-correct commit 411ccbdRyuta Kamizono2016-08-101-1/+2
* code gardening: removes redundant selfsXavier Noria2016-08-081-2/+2
* remove redundant curlies from hash argumentsXavier Noria2016-08-061-4/+2
* applies new string literal convention in activemodel/libXavier Noria2016-08-061-5/+5
* Tiny documentation fixes [ci skip]Robin Dupret2016-06-251-7/+7
* [ci skip] Add additional documentation to ActiveModel::ErrorsAlex Kitchens2016-06-221-1/+12
* Ensure that instances of `ActiveModel::Errors` can be marshalledSean Griffin2016-05-301-2/+23
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2016-05-141-2/+11
|\
| * Add example for UnknownAttributeErrorVipul A M2016-05-021-0/+9
| * Active Model: Messages for strict validation always convert attributes to hum...Prathamesh Sonpatki2016-05-011-2/+2
* | Change RangeError to a more specific ActiveModel::RangeErrorChristian Blais2016-05-031-0/+4
|/
* 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