restrict mass_assignable fields through attr_accessible. not terribly useful at the moment, as we don't mass_assign

pull/6827/head
jwollert 13 years ago
parent dad3429686
commit 12fd95489a
  1. 2
      lib/report.rb

@ -14,7 +14,7 @@ class Report < ActiveRecord::Base
before_save :serialize
serialize :serialized, Hash
attr_protected :project_id
attr_accessible :name, :is_public, :serialized
self.abstract_class = true # lets have subclasses have their own SQL tables

Loading…
Cancel
Save