Skip to content

Commit

Permalink
Merge pull request #7 from sdesbure/master
Browse files Browse the repository at this point in the history
Make it work with attr_accessible enforced
  • Loading branch information
kunklejr committed Feb 28, 2013
2 parents 7663481 + 207111a commit 2181a28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/system_metrics/metric.rb
@@ -1,5 +1,6 @@
module SystemMetrics
class Metric < ActiveRecord::Base
attr_accessible :name, :payload, :transaction_id, :duration, :action, :category, :children, :exclusive_duration, :started_at, :request_id, :parent_id

set_table_name 'system_metrics'
has_many :children, :class_name => self.name, :foreign_key => :parent_id
Expand Down

0 comments on commit 2181a28

Please sign in to comment.