]> source.dussan.org Git - redmine.git/commitdiff
Fix query management broken by r1027.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 31 Dec 2007 12:37:32 +0000 (12:37 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 31 Dec 2007 12:37:32 +0000 (12:37 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1031 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/query.rb

index ded8be770a2c4890e5ae2e0cdfdc6984244a05d3..61a559d166374853c3b927434cb5e07d5d56bd84 100644 (file)
@@ -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