NoamB/sorcery — Issue #191: user.authentications_class Fails in 3.1 on Heroku
Author: HaakonL
Created: 2012-01-17 22:33:35+00:00
State: open

Or have I suddenly done something stupid? :)

Getting this error on Heroku:

/app/config/initializers/sorcery.rb:21:in `block (2 levels) in ': undefined method `authentications_class=' for # (NoMethodError)

And it is triggered by calling authenticates_with_sorcery!

The 21st line in sorcery.rb looks like this:

user.authentications_class = UserProvider

...and I have the UserProvider class in my models folder.

Any suggestions?