Fix to update mongoid version

'4.0.0-dev' branch has been merged in master!