From 3f5a7012bdff95458e9bda46505c4c2aa4dabf12 Mon Sep 17 00:00:00 2001 From: Will Bradley Date: Wed, 12 Feb 2014 20:11:21 -0700 Subject: [PATCH] Removing required postal code Was causing issues with resetting passwords --- 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 232bf1d..6ff8b59 100755 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -20,7 +20,7 @@ class User < ActiveRecord::Base validates_format_of [:twitter_url, :facebook_url, :github_url, :website_url], :with => URI::regexp(%w(http https)), :allow_blank => true - validates_presence_of :postal_code + # disable # validates_presence_of :postal_code after_create :send_new_user_email