Closed
Description
Hi
it seems that "order" isn't enabled when I specify my acts_as_tree statement like this:
acts_as_tree order: { position: :asc }, dependent: :destroy
If I specify it using a string for ordering then everything works fine:
acts_as_tree order: "position ASC", dependent: :destroy
Please note that the actual ordering works fine in both cases so the problem is likely in the order_is_numeric? method that controls the include of ClosureTree::NumericDeterministicOrdering.
Thanks for building a great gem !
Metadata
Metadata
Assignees
Labels
No labels