These are chat archives for ManageIQ/manageiq/performance
'parent[0-9]'isn't really parent
id = parent OR ancestry = "parent/%"
um... did I miss something?
ancestor_id = self.id and depth in (1,2)
ancestor_id in (descendant_id in (open node ids)) and depth in (0,1)
what do you think about using arrays instead?
lower(name)(inconsistently) all over the place
create_index :ancestry, "lower(name)", :name => :name
I like this:
A node even connects to itself