Closed cjcolvar closed 3 years ago
ActiveModel::Dirty will attempt to load the entire ordered list when calling nodes_will_change! which leads to a stack level too deep exception in some cases (https://github.com/samvera/hyrax/issues/4581).
nodes_will_change!
This approach was also taken in ActiveFedora::File: https://github.com/samvera/active_fedora/pull/1312/commits/7c8bbbefdacefd655a2ca653f5950c991e1dc999#diff-28356c4daa0d55cbaf97e4269869f510R100-R103
ActiveModel::Dirty will attempt to load the entire ordered list when calling
nodes_will_change!
which leads to a stack level too deep exception in some cases (https://github.com/samvera/hyrax/issues/4581).This approach was also taken in ActiveFedora::File: https://github.com/samvera/active_fedora/pull/1312/commits/7c8bbbefdacefd655a2ca653f5950c991e1dc999#diff-28356c4daa0d55cbaf97e4269869f510R100-R103