From 542c1769f9f796c085a4d063da29a8d156a55f34 Mon Sep 17 00:00:00 2001 From: ilya Date: Thu, 19 Aug 2010 14:25:34 -0700 Subject: [PATCH] doing a sanity check, that not requiring serialized key passes the validation --- app/models/person.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/person.rb b/app/models/person.rb index 32d68cab8..7b989ce63 100644 --- a/app/models/person.rb +++ b/app/models/person.rb @@ -27,7 +27,7 @@ class Person before_destroy :remove_all_traces before_validation :clean_url - validates_presence_of :email, :url, :profile, :serialized_key + validates_presence_of :email, :url, :profile#, :serialized_key validates_format_of :url, :with => /^(https?):\/\/[a-z0-9]+([\-\.]{1}[a-z0-9]+)*(\.[a-z]{2,5})?(:[0-9]{1,5})?(\/.*)?$/ix