Sha256: 9f6891e22b41a0459e755c400e294e1837f52133862aa80c4bcbbfcd513551ca

Contents?: true

Size: 380 Bytes

Versions: 1

Compression:

Stored size: 380 Bytes

Contents

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

    has_many :activity_logs, class_name: Merit::ActivityLog

    if defined?(ProtectedAttributes) || !defined?(ActionController::StrongParameters)
      attr_accessible :user_id, :action_method, :action_value, :had_errors,
        :target_model, :target_id, :processed, :log
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
merit-1.7.1 lib/merit/models/active_record/merit/action.rb