Skip to content

Commit

Permalink
temporary 'fix'
Browse files Browse the repository at this point in the history
  • Loading branch information
tpinto committed Sep 3, 2008
1 parent a7730ef commit 3633e58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class User < ActiveRecord::Base

validates_presence_of :name, :if => :email_and_name_required?
validates_presence_of :email, :if => :email_and_name_required?
validates_uniqueness_of :email, :case_sensitive => false, :allow_blank => true
#validates_uniqueness_of :email, :case_sensitive => false, :allow_blank => true
validates_format_of :email, :with => /^([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4})$/, :allow_blank => true

validates_presence_of :password, :if => :password_required?
Expand Down

0 comments on commit 3633e58

Please sign in to comment.