# File lib/ancestry/materialized_path.rb, line 18 def path_conditions(object) t = arel_table node = to_node(object) t[primary_key].in(node.path_ids) end