Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Mongoid::Tree::Ordering results in error 16052: "exception: could not create cursor..." when calling x.children.max(:position) #46
I have added Mongoid::Tree::Ordering to my folder model, but now I can't call
This results in:
Any idea what's going on here?
thanks for reporting this issue. I don't have an idea what's happening just from looking at the error. I tried to reproduce it, but did not have any success, yet. Can you share some details about the versions of MongoDB, Mongoid and Mongoid-Tree you're using?
Could there be some problem with the combination with Mongoid::Orderable?