postgres_tree 0.0.2
Include PostgresTree::ActiveRecordConcern in your models along with a parent_id field and get access to ancestors and descendents in one query.
Gemfile:
=
instalar:
=
dependencias de Runtime (1):
rails
~> 4.0