From b80d3c5bbd6eab983e0dec0d908eda8bf1c93ecf Mon Sep 17 00:00:00 2001 From: nilsding Date: Mon, 1 Dec 2014 23:17:16 +0100 Subject: [PATCH] removed website validation --- app/models/user.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/user.rb b/app/models/user.rb index 0045c850..2a760a60 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -26,7 +26,7 @@ class User < ActiveRecord::Base validates :screen_name, presence: true, format: { with: SCREEN_NAME_REGEX }, uniqueness: { case_sensitive: false } - validates :website, format: { with: WEBSITE_REGEX } + # validates :website, format: { with: WEBSITE_REGEX } def login=(login) @login = login