lib/generators/mongoid/devise_generator.rb in devise-2.1.4 vs lib/generators/mongoid/devise_generator.rb in devise-2.2.0.rc

- old
+ new

@@ -20,12 +20,9 @@ def migration_data <<RUBY ## 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 field :reset_password_sent_at, :type => Time \ No newline at end of file