Sha256: 9f7e17debc108c985408e7278934cbecb0c4939a6a1aa258e3b457ceef65bebc

Contents?: true

Size: 287 Bytes

Versions: 3

Compression:

Stored size: 287 Bytes

Contents

require 'active_support/concern'

module Modifier
  extend ActiveSupport::Concern

  included do
    has_many :object_activities_as_updater, class_name: 'ObjectActivity', as: :updated_by
    has_many :object_activities_as_creator, class_name: 'ObjectActivity', as: :created_by
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
acts_as_trackable-0.2.0 lib/acts_as_trackable/modifier.rb
acts_as_trackable-0.1.1 lib/acts_as_trackable/modifier.rb
acts_as_trackable-0.1.0 lib/acts_as_trackable/modifier.rb