6 lines
149 B
Ruby
6 lines
149 B
Ruby
class Subscription < ApplicationRecord
|
|
belongs_to :user
|
|
|
|
delegated_type :subscribable, types: Subscribable::TYPES, inverse_of: :subscription
|
|
end
|