Configure Mongoid and Rails for Heroku.
More Heroku compatibility.