Replace Group ancestors scope with linear version
All threads resolved!
All threads resolved!
Compare changes
Files
3- Francisco Javier López authored
In this commit we're replacing the recursive ancestors scope in the `Group` model, for their linear version. Changelog: performance
+ 10
− 4
@@ -192,9 +192,15 @@ def preset_root_ancestor_for(groups)
@@ -202,7 +208,7 @@ def ids_with_disabled_email(groups)