Пользователь Rails Devise существует на пустой БД

Я пытаюсь создать пользователя через Devise, но сталкиваюсь с проблемами.

home#land

def land
  @resource = User.new
  @devise_mapping = Devise.mappings[:user]
end

land.html.haml

= form_for @resource, :as => :user, :url => registration_path(:user), :remote => true do
  = label_tag 'user[email]', raw("<h3>Stay Informed!</h3>")
  = text_field_tag 'user[email]', nil, {:placeholder => "Your email", :required => true}
  %input(type="submit" name="commit" value="Add")

user.rb

class User < ActiveRecord::Base
  before_validation(:on => :create) do
    self.password = "none"
    self.password_confirmation = "none"
  end
  # Include default devise modules. Others available are:
  # :token_authenticatable, :encryptable, :confirmable, :lockable, :timeoutable and :omniauthable
  devise :database_authenticatable, :registerable,
         :recoverable, :rememberable, :trackable, :validatable

  # Setup accessible (or protected) attributes for your model
  attr_accessible :email, :password, :password_confirmation, :remember_me
end

По умолчанию Devise :: RegistrationsController используется.

Это появляется при отправке:

development.log

Started POST "/users" for 127.0.0.1 at 2013-04-24 20:49:46 -0300
Processing by Devise::RegistrationsController#create as JS
  Parameters: {"utf8"=>"✓", "user"=>{"email"=>"[email protected]"}, "commit"=>"Add"}
  [1m[35m (0.3ms)[0m  BEGIN
  [1m[36mUser Exists (0.5ms)[0m  [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = '[email protected]' LIMIT 1[0m
  [1m[35m (0.2ms)[0m  ROLLBACK
  Rendered devise/registrations/create.js (0.4ms)
Completed 200 OK in 84ms (Views: 4.1ms | ActiveRecord: 1.0ms)

Однако вrails console:

2.0.0p0 :011 > User.all
  User Load (0.5ms)  SELECT "users".* FROM "users"
 => #<ActiveRecord::Relation []> 

а такжеlocalhost:5000/users совершенно пусто ...

Почему я получаю User Exists и ROLLBACK, когда в моей БД нет пользователей?

Ответы на вопрос(1)

Ваш ответ на вопрос