removing the sanity check
This commit is contained in:
parent
542c1769f9
commit
7eb1bb5a00
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue