Fix query management broken by r1027.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1031 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2007-12-31 12:37:32 +00:00
parent 97f0da0b1a
commit 636579b17d
1 changed files with 1 additions and 1 deletions

View 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