Wizard Authentication Failure - No such method

I have a problem with my Rails 3.0.9 application that worked "well" until a few days ago when I committed some static content. This is on heroku and I use Gemery for authentication. When I tried to access it, I got an application crash error from Heroku, looking at my logs, I see this

 Starting process with command `thin -p 38037 -e production 
-R /home/heroku_rack/heroku.ru  start`
2012-04-19T16:17:26+00:00 app[web.1]: 
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-   
3.0.9/lib/active_support/dependencies.rb:304:in `rescue in depend_on':
No such file to load -- bcrypt (LoadError)

After some research has been added

 gem 'bcrypt-ruby'

to my Gem file, now my application runs on Heroku, but does not authenticate the user using this in Log

←[32m2012-04-23T09:15:48+00:00 app[web.1]:←[0m
 ←[32m2012-04-23T09:15:48+00:00 app[web.1]:←[0m
←[32m2012-04-23T09:15:48+00:00 app[web.1]:←[0m Started POST "/sessions" for 94.2
00.71.131 at 2012-04-23 02:15:48 -0700
←[32m2012-04-23T09:15:48+00:00 app[web.1]:←[0m
←[32m2012-04-23T09:15:48+00:00 app[web.1]:←[0m NoMethodError (undefined method `
unlock_token' for #<User:0x000000052f7740>):    
←[32m2012-04-23T09:15:48+00:00 app[web.1]:←[0m   app/controllers/sessions_contro
ller.rb:24:in `create'
+3
source share
2 answers

, . 0.7.11 . 0.7.7, .

0

. , "unlock_token" . , , :

class AddUnlockTokenToUsers < ActiveRecord::Migration
  def change
    add_column :users, :unlock_token, :string, :default => nil
  end
end

, , : https://github.com/NoamB/sorcery/pull/249

+1

All Articles