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
In my case, the gems order in the gemfile was apparently wrong
Not good
Works!