diff --git a/app/models/chained_element.rb b/app/models/chained_element.rb index 44e76d689..a7edcf348 100644 --- a/app/models/chained_element.rb +++ b/app/models/chained_element.rb @@ -7,7 +7,6 @@ require 'json' class ChainedElement < ApplicationRecord belongs_to :element, polymorphic: true belongs_to :previous, class_name: 'ChainedElement' - has_one :next, class_name: 'ChainedElement', inverse_of: :previous, dependent: :restrict_with_exception before_create :set_content, :chain_record