retrospring/app/models/appendable.rb
2022-07-27 21:17:55 +02:00

8 lines
151 B
Ruby

# frozen_string_literal: true
class Appendable < ApplicationRecord
acts_as_paranoid
belongs_to :parent, polymorphic: true
belongs_to :user
end