changed devise version for rails 4, but dependencies issues for mongoid