Sha256: 724cb917dfca097d090e36bc2097375ceb8ec0b1759697a1751367b58acbe219
Contents?: true
Size: 380 Bytes
Versions: 1
Compression:
Stored size: 380 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 if defined?(ProtectedAttributes) || !defined?(ActionController::StrongParameters) attr_accessible :action_id, :related_change, :description, :created_at 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/activity_log.rb |