Sha256: e2c5510cc44c3654ac3e4a819f3a1dacec4165802ce0730eef08e4fd21414bda

Contents?: true

Size: 270 Bytes

Versions: 1

Compression:

Stored size: 270 Bytes

Contents

module Merit
  class ActivityLog < ActiveRecord::Base
    self.table_name = :merit_activity_logs

    belongs_to :action, class_name: 'Merit::Action'
    belongs_to :related_change, polymorphic: true, optional: true
    has_one :sash, through: :related_change
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
merit-3.0.3 lib/merit/models/active_record/merit/activity_log.rb