From a9083d688db12185a3c1ccb3a3615ae49f4670b3 Mon Sep 17 00:00:00 2001 From: Coleman Date: Fri, 27 Jun 2008 01:12:10 -0500 Subject: [PATCH] remove the validation --- app/models/page.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/page.rb b/app/models/page.rb index 23be1c7..2bb80c5 100644 --- a/app/models/page.rb +++ b/app/models/page.rb @@ -1,7 +1,6 @@ class Page < ActiveRecord::Base validates_format_of :name, :with => /^[\w ]+$/ validates_uniqueness_of :name - validates_format_of :department, :with => /^[\w]+$/, :allow_nil => true, :allow_blank => true has_many :comments, :order => 'created_at ASC' has_and_belongs_to_many :tags, :order => 'tags.name ASC'