Sha256: d8ecefda70d4c2473cb78ce1c8a9e9b37919751d947226047ae9fe71b98d64dc

Contents?: true

Size: 321 Bytes

Versions: 54

Compression:

Stored size: 321 Bytes

Contents

# frozen_string_literal: true

module Motor
  class Reminder < ::Motor::ApplicationRecord
    audited

    belongs_to :record, polymorphic: true, optional: true
    belongs_to :author, polymorphic: true
    belongs_to :recipient, polymorphic: true

    has_many :notifications, as: :record, dependent: :destroy
  end
end

Version data entries

54 entries across 54 versions & 6 rubygems

Version Path
motor-admin-0.4.34 app/models/motor/reminder.rb
motor-admin-0.4.33 app/models/motor/reminder.rb
motor-admin-0.4.32 app/models/motor/reminder.rb
motor-admin-0.4.31 app/models/motor/reminder.rb
motor-admin-0.4.30 app/models/motor/reminder.rb
motor-admin-0.4.29 app/models/motor/reminder.rb
motor-admin-0.4.28 app/models/motor/reminder.rb
motor-admin-cstham8-0.4.35 app/models/motor/reminder.rb
motor-admin-cstham8-0.4.34 app/models/motor/reminder.rb
motor-admin-cstham8-0.4.33 app/models/motor/reminder.rb
motor-admin-cstham8-0.4.32 app/models/motor/reminder.rb
motor-admin-cstham8-0.4.31 app/models/motor/reminder.rb
motor-admin-cstham8-0.4.30 app/models/motor/reminder.rb
motor-admin-cstham8-0.4.29 app/models/motor/reminder.rb
motor-admin-cstham8-0.4.28 app/models/motor/reminder.rb
motor-admin-cstham8-0.4.27 app/models/motor/reminder.rb
motor-admin-0.4.27 app/models/motor/reminder.rb
motor-admin-unosquare-0.4.28 app/models/motor/reminder.rb
motor-admin-unosquare-0.4.27 app/models/motor/reminder.rb
motor-admin-pz-0.4.26 app/models/motor/reminder.rb