Closed
Description
Hey, I'm trying to use Sorcery on a Rails 4 project with Mongoid 4 (beta).
When I'm trying to log in a user, with the incorrect password, it tries to call inc for failed_login count, however it seems Mongoid 4 has changed the inc
method:
https://github.com/mongoid/mongoid/blob/master/lib/mongoid/contextual/atomic.rb#L45
The error is Sorcery happens on line 12 of lib/sorcery/model/adapters/mongoid.rb
. Hope that helps,
Andrew
Metadata
Metadata
Assignees
Labels
No labels