I just used a template for a new rails app that sets up everything for
use with Mongoid.  The mongoid.yml file looks like this:


production:
  host: <%= ENV['MONGOID_HOST'] %>
  port: <%= ENV['MONGOID_PORT'] %>
  username: <%= ENV['MONGOID_USERNAME'] %>
  password: <%= ENV['MONGOID_PASSWORD'] %>
  database: <%= ENV['MONGOID_DATABASE'] %>


I added the MONGOHQ_URL config var to my app (with the string given
from mongohq), deployed and it worked!  My question is...    HOW?

I don't get how adding that single URL has all of a sudden given me
these 5 environment variables.  I searched through the heroku docs on
mongo and they pretty sparse.  Nowhere does it mention that I might
use these particular env vars.  So how does this happen?

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to