chrisroberts / acts_as_sane_tree

Sane tree builder for ActiveRecord and PostgreSQL
http://chrisroberts.github.com/acts_as_sane_tree
53 stars 20 forks source link

Add method to get Array of given nodes and their ancestors except these in options #3

Open dajvido opened 9 years ago

dajvido commented 9 years ago

I created new method witch take array of node ids (doesn't matter with depth in our tree any of them are) and return array of them and their ancestors (without duplicates).