mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
1de55c3596
Prior to this change, attempting to merge an `ActiveModel::Error` instance with itself would result in an endless loop where `ActiveModel::NestedError`s would continue to be imported on the instance until interrupted. Though the merging of identical objects is less likely to happen in practice, this method should still be able to handle such a case gracefully. This change ensures that instances attempting to merge on themselves return early rather than hanging indefinitely. Addresses https://github.com/rails/rails/issues/43737 |
||
---|---|---|
.. | ||
active_model | ||
active_model.rb |