Open comme opened 10 years ago
Hi @comme,
thanks for report. It's definitely a bug on our side. The lines order is wrong. First you need to call include Mongoid::Document
and then call authenticates_with_sorcery!
. Then it should work without the additional line.
@arnvald thank you, it works!
I use mongoid as my mongodb adapter and use sorcery do my user auth.After i execute:
it's generate user.rb like this: