Skip to content
Browse files

Deleted unnecessary validation in generator mongoid model

  • Loading branch information...
1 parent 4875178 commit d59301ed2a44bd0a923692e8b6133a4dfc7c8e63 @igor04 igor04 committed Aug 26, 2012
Showing with 0 additions and 3 deletions.
  1. +0 −3 lib/generators/mongoid/devise_generator.rb
View
3 lib/generators/mongoid/devise_generator.rb
@@ -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

0 comments on commit d59301e

Please sign in to comment.
Something went wrong with that request. Please try again.