# File lib/ancestry/materialized_path.rb, line 53 def subtree_conditions(object) t = arel_table node = to_node(object) descendant_conditions(node).or(t[primary_key].eq(node.id)) end