Closed p8 closed 4 years ago
👍
Thanks @p8
@p8 Hello, it appears this fix has not been released as a tagged version. Version 3.2.0 dates back to August 2019.
Will you be pushing it to rubygems? Thank you
Hi @yourtallness, I can't push this gem. Maybe @parndt could do that.
Yes, I suppose it's about time we released even 3.2.1
with this 😄
AwesomeNestedSet calls reload in the after_save callback if depth is set. This can break dependencies that clear state during reload. For example carrierwave uses reload to clear the mounters which will result in attached files not being saved (see #375).
Reload also doesn't seem necessary because there is no state that should be updated for getting the depth (as far as I can see). Specs also don't break.