ok I'm using sorcery gem for the log in of the main engine. And I want to use it also in the main engine but whenever I call the user model in the mountable engine it says
undefined method `authenticates_with_sorcery!' for User:Class
When I said call it's like
@user = User.new
By the way I'm using mongoid 4.0.0 and rails 4.1
I ran into similar issues using MongoMapper. Try making sure that
authenticates_with_sorcery!appears beneath any of your database-related includes. For example: