retrospring/app/models/appendable.rb

9 lines
151 B
Ruby
Raw Normal View History

2022-01-27 22:42:01 +01:00
# frozen_string_literal: true
class Appendable < ApplicationRecord
2022-07-27 21:17:55 +02:00
acts_as_paranoid
2022-01-27 22:42:01 +01:00
belongs_to :parent, polymorphic: true
belongs_to :user
end