Skip to content

Commit

Permalink
Deleted unnecessary validation in generator mongoid model
Browse files Browse the repository at this point in the history
  • Loading branch information
igor04 committed Aug 26, 2012
1 parent 4875178 commit d59301e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/generators/mongoid/devise_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ def migration_data
## Database authenticatable
field :email, :type => String, :default => ""
field :encrypted_password, :type => String, :default => ""
validates_presence_of :email
validates_presence_of :encrypted_password
## Recoverable
field :reset_password_token, :type => String
Expand Down

0 comments on commit d59301e

Please sign in to comment.