collectiveidea / awesome_nested_set

An awesome replacement for acts_as_nested_set and better_nested_set.
MIT License
2.39k stars 492 forks source link

Order Column collides with Rails 6 - wrong number of arguments (given 0, expected 1) #407

Closed silvermind closed 5 years ago

silvermind commented 5 years ago

using @model.children results in wrong number of arguments (given 0, expected 1)

Rails 6.0.0.rc1 seam to have its own order_column Method, see this commit: https://github.com/rails/rails/commit/cb0299c9eba6463085130debda6347abf9683463

not sure if it's directly related to this Rails 6 Feature https://blog.bigbinary.com/2019/04/16/rails-6-adds-implicit_order_column.html