Removed useless option.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8978 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
528735b955
commit
67d816705d
|
@ -94,7 +94,7 @@ class Query < ActiveRecord::Base
|
|||
|
||||
attr_protected :project_id, :user_id
|
||||
|
||||
validates_presence_of :name, :on => :save
|
||||
validates_presence_of :name
|
||||
validates_length_of :name, :maximum => 255
|
||||
validate :validate_query_filters
|
||||
|
||||
|
|
Loading…
Reference in New Issue