aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/error_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix equality comparison raising error buglulalala2019-03-311-0/+7
|
* Allow errors to remove duplicates, and ensure cyclic associations w/ ↵lulalala2019-03-311-0/+20
| | | | | autosave duplicate errors can be removed See SHA 7550f0a016ee6647aaa76c0c0ae30bebc3867288
* Change errorslulalala2019-03-311-1/+0
| | | | | | | | | | | | Allow `each` to behave in new way if block arity is 1 Ensure dumped marshal from Rails 5 can be loaded Make errors compatible with marshal and YAML dumps from previous versions of Rails Add deprecation warnings Ensure each behave like the past, sorted by attribute
* Add ActiveModel::Error and NestedErrorlulalala2019-03-311-0/+174
Add initialize_dup to deep dup. Move proc eval and flexible message position out to Errors, because proc eval is needed for Errors#added? and Errors#delete