RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: brandoncordell
Site: http://brandoncordell.com
@folivi In case you never found your solution, or for posterity in case other people find this comment while searching for this same solution
Make sure authenticates_with_sorcery! comes after include Mongoid::Document
authenticates_with_sorcery!
include Mongoid::Document
E.g.
class User include Mongoid::Document authenticates_with_sorcery! end
@folivi In case you never found your solution, or for posterity in case other people find this comment while searching for this same solution
Make sure
authenticates_with_sorcery!
comes afterinclude Mongoid::Document
E.g.