From: Jean-Philippe Lang Date: Mon, 31 Dec 2007 12:37:32 +0000 (+0000) Subject: Fix query management broken by r1027. X-Git-Tag: 0.7.0-RC1~245 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=636579b17ddd4b775b060cdb0ac3a94db5e4cb2b;p=redmine.git Fix query management broken by r1027. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1031 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/models/query.rb b/app/models/query.rb index ded8be770..61a559d16 100644 --- a/app/models/query.rb +++ b/app/models/query.rb @@ -53,7 +53,7 @@ class Query < ActiveRecord::Base serialize :filters serialize :column_names - attr_protected :project, :user + attr_protected :project_id, :user_id validates_presence_of :name, :on => :save validates_length_of :name, :maximum => 255