Devise Resource Doesn't Sign In After Being Seeded
===

I have an employee model that I need to seed in the database--it can't be "registerable."  It does not need to be "confirmable."

In seeds.rb, I have:

    Employee.destroy_all
    Employee.create(:email => "me@company.com", :password => "password", :password_confirmation => "password")


The problem is
===============

I cannot sign in with the employee's credentials.  The flash message states:

> Invalid email or password.

The employee is definitely in the database.  Here is the console output:

    1.9.2p290 :048 > Employee.last
    Employee Load (1.0ms)  SELECT "employees".* FROM "employees" ORDER BY "employees"."id" DESC LIMIT 1
    => #<Employee id: 1, email: "me@company.com", encrypted_password: "$2a$10$QElm.sbv47i.F2H8P5pIvejzn4IeQbe3S8Rjvh34jp/g...", reset_password_token: nil, reset_password_sent_at: nil, remember_created_at: nil, sign_in_count: 0, current_sign_in_at: nil, last_sign_in_at: nil, current_sign_in_ip: nil, last_sign_in_ip: nil, created_at: "2012-07-18 16:00:09", updated_at: "2012-07-18 16:00:09"> 

Sign in attempts do not increment the sign_in_count on the employee record.

My devise setup should be correct but I'm wondering if I have a hole.

In employee.rb:

    devise :database_authenticatable, :recoverable, :rememberable, :trackable, :validatable

In routes.rb:

    devise_for :employees

In schema.rb:

    create_table "employees", :force => true do |t|
      t.string   "email",                  :default => "",    :null => false
      t.string   "encrypted_password",     :default => "",    :null => false
      t.string   "reset_password_token"
      t.datetime "reset_password_sent_at"
      t.datetime "remember_created_at"
      t.integer  "sign_in_count",          :default => 0
      t.datetime "current_sign_in_at"
      t.datetime "last_sign_in_at"
      t.string   "current_sign_in_ip"
      t.string   "last_sign_in_ip"
      t.datetime "created_at",                                :null => false
      t.datetime "updated_at",                                :null => false
    end

    add_index "employees", ["email"], :name => "index_employees_on_email", :unique => true
    add_index "employees", ["reset_password_token"], :name => "index_employees_on_reset_password_token", :unique => true

The form:

    <h2>Sign In</h2
    <%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>

      <%= f.label :email %>
      <%= f.email_field :email %>

      <%= f.label :password %>
      <%= f.password_field :password %>

      <% if devise_mapping.rememberable? -%>
        <fieldset class="checkbox_container">
          <%= f.check_box :remember_me %> <%= f.label :remember_me %>
        </fieldset>
      <% end -%>

      <div class="button_container">
        <%= f.submit "Sign in", :class => "button secondary" %>
      </div>
    <% end %>

