You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi-
I have a patch that colleagues and I worked on. How do you want me to add it to the repo? The way we fixed:
In the tax_extensions.rb, added an "unless" condition around the alias_method_chain. The problem was- it would endlessly re-load the "children_find_options_without_drag_order" in certain situations. With config.cache_classes = false, and children:each tags, and in some installed gems/versions. The condition just checks as to whether the private class has been defined before doing the alias-chain.
Hi-
I have a patch that colleagues and I worked on. How do you want me to add it to the repo? The way we fixed:
In the tax_extensions.rb, added an "unless" condition around the alias_method_chain. The problem was- it would endlessly re-load the "children_find_options_without_drag_order" in certain situations. With config.cache_classes = false, and children:each tags, and in some installed gems/versions. The condition just checks as to whether the private class has been defined before doing the alias-chain.
base.private_method_defined?(:children_find_options_with_drag_order)
cheers
Anna
The text was updated successfully, but these errors were encountered: