mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-20 14:54:15 +01:00
rm dead code
This commit is contained in:
parent
835f3b6ec3
commit
046cc1b05b
@ -7,7 +7,6 @@ require 'json'
|
|||||||
class ChainedElement < ApplicationRecord
|
class ChainedElement < ApplicationRecord
|
||||||
belongs_to :element, polymorphic: true
|
belongs_to :element, polymorphic: true
|
||||||
belongs_to :previous, class_name: 'ChainedElement'
|
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
|
before_create :set_content, :chain_record
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user