Closed jonhue closed 6 years ago
Off the top of my head I think you're supposed to specify the full column name when using the array scope syntax:
acts_as_list scope: [:author_id, :visit_id], add_new_at: :top
Let me know if that doesn't work.
Thanks for your help @brendon ! Works perfectly
Whenever I create new records (either using
add_new_at: :top
or by manually utilizinginsert_at(1)
) theposition
of existing records does not get adjusted. What am I doing wrong?