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

@ -14,6 +14,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
def self.accepted_properties

Loading…
Cancel
Save