forked from jasder/forgeplus
8 lines
202 B
Ruby
8 lines
202 B
Ruby
|
class DiffRecord < ApplicationRecord
|
||
|
belongs_to :user
|
||
|
belongs_to :container, polymorphic: true
|
||
|
|
||
|
has_one :diff_record_content, dependent: :destroy
|
||
|
|
||
|
delegate :content, to: :diff_record_content
|
||
|
end
|