Sha256: d4dd2d7a1f3d9a0e4ba4dd6fada4df10996bfa265d15010601841c8757ff20a5

Contents?: true

Size: 369 Bytes

Versions: 13

Compression:

Stored size: 369 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
    has_one :sash, through: :related_change

    if show_attr_accessible?
      attr_accessible :action_id, :related_change, :description, :created_at
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
merit-3.0.1 lib/merit/models/active_record/merit/activity_log.rb
merit-3.0.0 lib/merit/models/active_record/merit/activity_log.rb
merit-2.4.0 lib/merit/models/active_record/merit/activity_log.rb
merit-2.3.4 lib/merit/models/active_record/merit/activity_log.rb
merit-2.3.3 lib/merit/models/active_record/merit/activity_log.rb
merit-2.3.2 lib/merit/models/active_record/merit/activity_log.rb
merit-2.3.1 lib/merit/models/active_record/merit/activity_log.rb
merit-2.3.0 lib/merit/models/active_record/merit/activity_log.rb
merit-2.2.0 lib/merit/models/active_record/merit/activity_log.rb
merit-2.1.2 lib/merit/models/active_record/merit/activity_log.rb
merit-2.1.1 lib/merit/models/active_record/merit/activity_log.rb
merit-2.1.0 lib/merit/models/active_record/merit/activity_log.rb
merit-2.0.0 lib/merit/models/active_record/merit/activity_log.rb