aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/errors.rb
Commit message (Expand)AuthorAgeFilesLines
* Accessing ivar with Symbols might be just a very little bit better than with ...Akira Matsuda2019-07-311-1/+1
* Fixed the typo in the deprecation error messages. Followup #36738Abhay Nikam2019-07-231-1/+1
* Modify behaviour of `AM::Errors#to_h`:Edouard CHIN2019-07-231-2/+6
* Deprecated `AM::Errors#to_h`:Edouard CHIN2019-07-231-0/+6
* Fix deprecation on `AM::Errors` when each is called indirectly:Edouard CHIN2019-07-201-1/+1
* Move the `ActiveModel:Errors#full_message` method to the `Error` class:Edouard CHIN2019-07-161-80/+2
* Merge pull request #36654 from Edouard-chin/ec-errors-deleteRafael França2019-07-151-1/+1
|\
| * Returns `nil` when `AM::Errors#delete` doesn't delete anything:Edouard CHIN2019-07-111-1/+1
* | active_support/deprecation has to be already required via active_support/rail...Akira Matsuda2019-07-121-1/+0
|/
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-131-2/+0
* any? should be delegated to the errors listAaron Patterson2019-04-301-1/+1
* Change the deprecation for Enumerating ActiveModel::Errors to Rails 6.1 inste...Abhay Nikam2019-04-251-5/+5
* Set default array to detailslulalala2019-03-311-1/+9
* Fix messages[]= does not override valuelulalala2019-03-311-0/+1
* Freeze DeprecationHandling array and hashlulalala2019-03-311-13/+20
* Split messages and to_hashlulalala2019-03-311-18/+21
* Raise deprecation for calling `[:f] = 'b'` or `[:f] << 'b'`lulalala2019-03-311-4/+46
* Add deprecation to slice!lulalala2019-03-311-0/+2
* String override options in #import to convert to symbollulalala2019-03-311-0/+5
* Allow errors to remove duplicates, and ensure cyclic associations w/ autosave...lulalala2019-03-311-1/+1
* Add messages_forlulalala2019-03-311-1/+7
* Add a transitional method `objects`, for accessing the array directly.lulalala2019-03-311-0/+1
* Backward compatibility for errors.collect/select etc.lulalala2019-03-311-2/+2
* Add convenience method group_by_attributelulalala2019-03-311-20/+9
* Change errorslulalala2019-03-311-108/+183
* Add ActiveModel::Error and NestedErrorlulalala2019-03-311-16/+0
* Rename `i18n_full_message` config option to `i18n_customize_full_message`Prathamesh Sonpatki2019-03-291-3/+3
* Fall back to parent locale before it falls back to the :errors namespaceHugo Vacher2019-03-041-9/+14
* Add `ActiveModel::Errors#of_kind?`bogdanvlviv2019-01-041-9/+30
* Add slice! method to ActiveModel::ErrorsDaniel Lopez Prat2018-11-211-0/+11
* Fix ignored options in the `#added?` methodRonan Limon Duparcmeur2018-11-131-3/+3
* Call human_attribute_name with a string instead of a symboleMartin Larochelle2018-08-161-1/+1
* `ActiveModel.full_message` interaction with `index_errors`Martin Larochelle2018-08-141-3/+6
* 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