Replacing sqlite configuration with mongoid