maxjustus / sinatra-authentication

A sinatra extension wrapped in a gem that implements authentication/permissions with users stored in the database. Now with optional support for facebook connect

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

doesn't work with mongoid > 3.0.0

StephaneDelcroix opened this issue · comments

The mongoid_adapter, in the get(hash) method definition, calls first() with arguments. It looks like the mongoid api has changed in 3.0 and now first doesn't take any argument anymore

Sorry, it looks like it's already fixed in master.