Removing required postal code
Was causing issues with resetting passwords
This commit is contained in:
		
							parent
							
								
									ee7e79a433
								
							
						
					
					
						commit
						3f5a7012bd
					
				@ -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_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
 | 
					  after_create :send_new_user_email
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user