Set sequential_updates to true for acts_as_list for result orderable [SCI-9430]

This commit is contained in:
Ivan Kljun 2023-10-04 13:59:23 +02:00
parent 2919516bca
commit b4faefdb23

View file

@ -8,7 +8,7 @@ class ResultOrderableElement < ApplicationRecord
belongs_to :result, inverse_of: :result_orderable_elements, touch: true
belongs_to :orderable, polymorphic: true, inverse_of: :result_orderable_element
acts_as_list scope: :result, top_of_list: 0, sequential_updates: false
acts_as_list scope: :result, top_of_list: 0, sequential_updates: true
private