aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/errors_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Revert "No such class since 8d2866bb80fbe81acb04f5b0c44f152f571fb29f"Rafael Mendonça França2019-08-021-1/+1
* No such class since 8d2866bb80fbe81acb04f5b0c44f152f571fb29fAkira Matsuda2019-08-021-1/+1
* Modify behaviour of `AM::Errors#to_h`:Edouard CHIN2019-07-231-2/+3
* Deprecated `AM::Errors#to_h`:Edouard CHIN2019-07-231-0/+10
* Fix deprecation on `AM::Errors` when each is called indirectly:Edouard CHIN2019-07-201-0/+8
* Move the `ActiveModel:Errors#full_message` method to the `Error` class:Edouard CHIN2019-07-161-0/+21
* Merge pull request #36654 from Edouard-chin/ec-errors-deleteRafael França2019-07-151-0/+6
|\
| * Returns `nil` when `AM::Errors#delete` doesn't delete anything:Edouard CHIN2019-07-111-0/+6
* | Fix `AM::Errors.added?` trying to generate a message:Edouard CHIN2019-07-101-0/+22
|/
* any? should be delegated to the errors listAaron Patterson2019-04-301-0/+11
* Spec for display original raw type in detailslulalala2019-03-311-0/+18
* Set default array to detailslulalala2019-03-311-0/+6
* Fix messages[]= does not override valuelulalala2019-03-311-0/+8
* Raise deprecation for calling `[:f] = 'b'` or `[:f] << 'b'`lulalala2019-03-311-6/+54
* Add deprecation to slice!lulalala2019-03-311-5/+3
* Add a transitional method `objects`, for accessing the array directly.lulalala2019-03-311-6/+6
* Add convenience method group_by_attributelulalala2019-03-311-0/+8
* Change errorslulalala2019-03-311-49/+173
* Add `ActiveModel::Errors#of_kind?`bogdanvlviv2019-01-041-1/+79
* Add slice! method to ActiveModel::ErrorsDaniel Lopez Prat2018-11-211-0/+24
* Fix ignored options in the `#added?` methodRonan Limon Duparcmeur2018-11-131-0/+10
* Ensure attribute is a symbol in the added? methodJeremy Baker2018-07-141-0/+6
* Replace `assert !` with `assert_not`Daniel Colson2018-04-191-4/+4
* Remove usage of strip_heredoc in the framework in favor of <<~Rafael Mendonça França2018-02-161-2/+1
* Use assert_empty and assert_not_emptyDaniel Colson2018-01-251-3/+3
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-4/+4
* Use respond_to test helpersDaniel Colson2018-01-251-1/+1
* fix bug on added? methodAlessandro Rodi2017-11-131-0/+7
* 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 ActiveModel::Errors #keys, #valuesbogdanvlviv2017-03-281-0/+16
* Missing require for strip_heredocAkira Matsuda2017-01-171-0/+1
* Missing require "yaml"Akira Matsuda2016-12-121-0/+1
* Make ActiveModel::Errors backward compatible with 4.2Rafael Mendonça França2016-12-081-0/+20
* Allow indifferent access in ActiveModel::ErrorsKenichi Kamiya2016-11-221-3/+8
* Removed deprecated methods in ActiveModel::ErrorsRafael Mendonça França2016-10-101-92/+0
* Do not leak the Errors default proc when calling to_hash or as_jsonJean Boussier2016-09-271-0/+10
* improve error message when include assertions failMichael Grosser2016-09-161-2/+2
* applies new string literal convention in activemodel/testXavier Noria2016-08-061-17/+17
* Add test to better demonstrate `ActiveModel::Errors#added?` behaviorJon Moss2016-06-211-0/+6
* Ensure that instances of `ActiveModel::Errors` can be marshalledSean Griffin2016-05-301-0/+9
* Followup of #18322Vipul A M2016-05-021-1/+1
* Do not create a hash key when calling ActiveModel::Errors#include?Esteban Pastorino2016-03-241-0/+7
* `ActiveRecord::Base#becomes` should copy the errorsVokhmin Alexey V2015-12-141-0/+10
* Use private method call assertions in Active Model tests.Kasper Timm Hansen2015-07-101-24/+9
* Remove use of mocha from Active ModelRoque Pinel2015-05-281-23/+45
* Adds/Corrects use case for adding an error messageZamith2015-05-041-0/+6
* Merge pull request #19021 from morgoth/activemodel-errors-refactoringRafael Mendonça França2015-03-301-0/+6
|\