retrospring/app/models/appendable.rb
2022-07-28 21:01:59 +02:00

8 lines
157 B
Ruby

# frozen_string_literal: true
class Appendable < ApplicationRecord
include Discard::Model
belongs_to :parent, polymorphic: true
belongs_to :user
end