Sha256: 57c4c91415afacdf55863063e1cdadefd8cc5789865fa26ac8f376317ca44e05

Contents?: true

Size: 353 Bytes

Versions: 10

Compression:

Stored size: 353 Bytes

Contents

module Merit
  class Action < ActiveRecord::Base
    self.table_name = :merit_actions

    has_many :activity_logs, class_name: 'Merit::ActivityLog'

    if show_attr_accessible?
      attr_accessible :user_id, :action_method, :action_value, :had_errors,
                      :target_model, :target_id, :processed, :log, :target_data
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
merit-3.0.2 lib/merit/models/active_record/merit/action.rb
merit-3.0.1 lib/merit/models/active_record/merit/action.rb
merit-3.0.0 lib/merit/models/active_record/merit/action.rb
merit-2.4.0 lib/merit/models/active_record/merit/action.rb
merit-2.3.4 lib/merit/models/active_record/merit/action.rb
merit-2.3.3 lib/merit/models/active_record/merit/action.rb
merit-2.3.2 lib/merit/models/active_record/merit/action.rb
merit-2.3.1 lib/merit/models/active_record/merit/action.rb
merit-2.3.0 lib/merit/models/active_record/merit/action.rb
merit-2.2.0 lib/merit/models/active_record/merit/action.rb