From 636579b17ddd4b775b060cdb0ac3a94db5e4cb2b Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 31 Dec 2007 12:37:32 +0000 Subject: [PATCH] Fix query management broken by r1027. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1031 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/query.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5