Closed Zmokizmoghi closed 6 years ago
Hi @Zmokizmoghi, have a bit of a dig through the documentation. acts_as_list
always appends _id
to the scope if you supply a symbol. Supply an array instead [:position]. In saying this, I don't know how you'll get on with your current use case. Using the column name position
for starters, and then it being an enum… I guess you can only try :)
Hi @brendon, thanks for explanations, and for this great gem also ;-)
You're welcome :D
fails with
Ruby version: 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16] Rails version: 5.1.4 Sysytem: OS X 10.13.1