cfabianski / ltree_hierarchy

Organize ActiveRecord models into a tree using PostgreSQL's ltree datatype
MIT License
141 stars 25 forks source link

Add primary key on belongs to. #21

Closed alibby closed 7 years ago

alibby commented 7 years ago

The idea here is to not assume the assocations primary key is the fragment column. Loosing this assumption allows for more flexibility.

cfabianski commented 7 years ago

Thank you for your contribution @alibby