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:
parent
97f0da0b1a
commit
636579b17d
|
@ -53,7 +53,7 @@ class Query < ActiveRecord::Base
|
||||||
serialize :filters
|
serialize :filters
|
||||||
serialize :column_names
|
serialize :column_names
|
||||||
|
|
||||||
attr_protected :project, :user
|
attr_protected :project_id, :user_id
|
||||||
|
|
||||||
validates_presence_of :name, :on => :save
|
validates_presence_of :name, :on => :save
|
||||||
validates_length_of :name, :maximum => 255
|
validates_length_of :name, :maximum => 255
|
||||||
|
|
Loading…
Reference in New Issue