removing the sanity check

This commit is contained in:
ilya 2010-08-19 14:36:15 -07:00
parent 542c1769f9
commit 7eb1bb5a00

View file

@ -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