added attr_protected calls to protect mass assignment of :project_id through a view

pull/6827/head
Martin Linkhorst 13 years ago
parent b23680f0fe
commit fae3145eb2
  1. 2
      lib/report.rb

@ -13,6 +13,8 @@ class Report < ActiveRecord::Base
before_save :serialize
serialize :serialized, Hash
attr_protected :project_id #, :user_id
self.abstract_class = true # lets have subclasses have their own SQL tables

Loading…
Cancel
Save