From cad82aa7625a083b793c4f5f79953ce3290f477b Mon Sep 17 00:00:00 2001 From: r888888888 Date: Thu, 18 Jul 2013 16:19:11 -0700 Subject: [PATCH] fixes #1864 --- app/models/pool.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/pool.rb b/app/models/pool.rb index 308aacf0e..1713e622b 100644 --- a/app/models/pool.rb +++ b/app/models/pool.rb @@ -2,7 +2,7 @@ require 'ostruct' class Pool < ActiveRecord::Base validates_uniqueness_of :name - validates_format_of :name, :with => /\A[^\s;,]+\Z/, :on => :create, :message => "cannot have whitespace, commas, or semicolons" + validates_format_of :name, :with => /\A[^\s,]+\Z/, :on => :create, :message => "cannot have whitespace or commas" validates_inclusion_of :category, :in => %w(series collection) belongs_to :creator, :class_name => "User" belongs_to :updater, :class_name => "User"