Closed kdiogenes closed 7 years ago
Is this a feature that exists in vanilla ActiveRecord? I'm not familiar with it, maybe you can point to documentation that describes the intended behavior?
This is a Rails 5 feature: https://github.com/rails/rails/pull/19686
OK thanks.
Code looks good. I would maybe resolve the expression !@options[:index_errors] && !ActiveRecord::Base.index_nested_attribute_errors
in the constructor instead of during validations.
We can merge it once tests are in place.
@triskweline did you noticed my last commits to this?
I'm afraid Github doesn't send a notifications when new commits a pushed to an existing PR.
Looks good now, thanks!
I just released these changes as 0.7.0
.
I will write tests for it soon, I opened the pull-request to get feedback.