Sha256: 9f70ee0f27d4a6b5d8a868c85eda89b1f35e9b0cef667970fdc809c36a16867b

Contents?: true

Size: 366 Bytes

Versions: 19

Compression:

Stored size: 366 Bytes

Contents

module Merit::Models::ActiveRecord
  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

class Merit::ActivityLog < Merit::Models::ActiveRecord::ActivityLog; end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
merit-4.0.3 lib/merit/models/active_record/activity_log.rb
qalam_merit-4.5.12 lib/merit/models/active_record/activity_log.rb
merit-4.0.2 lib/merit/models/active_record/activity_log.rb
qalam_merit-4.5.11 lib/merit/models/active_record/activity_log.rb
qalam_merit-4.5.10 lib/merit/models/active_record/activity_log.rb
qalam_merit-4.5.09 lib/merit/models/active_record/activity_log.rb
qalam_merit-4.5.08 lib/merit/models/active_record/activity_log.rb
qalam_merit-4.5.07 lib/merit/models/active_record/activity_log.rb
qalam_merit-4.5.06 lib/merit/models/active_record/activity_log.rb
qalam_merit-4.5.05 lib/merit/models/active_record/activity_log.rb
qalam_merit-4.5.04 lib/merit/models/active_record/activity_log.rb
qalam_merit-4.5.03 lib/merit/models/active_record/activity_log.rb
qalam_merit-4.5.02 lib/merit/models/active_record/activity_log.rb
qalam_merit-4.5.01 lib/merit/models/active_record/activity_log.rb
qalam_merit-4.5.00 lib/merit/models/active_record/activity_log.rb
qalam_merit-4.0.4 lib/merit/models/active_record/activity_log.rb
qalam_merit-4.0.35 lib/merit/models/active_record/activity_log.rb
merit-4.0.1 lib/merit/models/active_record/activity_log.rb
merit-4.0.0 lib/merit/models/active_record/activity_log.rb