1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-28 09:24:24 +01:00

rm dead code

This commit is contained in:
Nicolas Florentin 2023-11-03 10:21:16 +01:00
parent 835f3b6ec3
commit 046cc1b05b

View File

@ -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