cfabianski / ltree_hierarchy

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

leaves method doesn't work #10

Closed mmiseyko closed 9 years ago

mmiseyko commented 9 years ago

ModelName.leaves doesn't return any instances of model. But ModelName.roots returns good data.

tomekw commented 9 years ago

Hi @mmiseyko, sorry to hear that. Could you provide more info and steps to reproduce (ideally with example code) or even better: failing specs?

tomekw commented 9 years ago

@mmiseyko I think I've reproduced the issue, expect a fix soon!

tomekw commented 9 years ago

@mmiseyko fixed in 0.0.7! :)

mmiseyko commented 9 years ago

@tomekw thank you :)