It seems MongoMapper is more popular around here. At least it's the solution I'm using and works flawlessly with Heroku.
On Mon, Sep 27, 2010 at 2:33 PM, Bradley <[email protected]> wrote: > no one has a comment on this? I thought it'd be a fairly straight > forward answer. > > On Sep 22, 7:11 pm, Bradley <[email protected]> wrote: > > 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]<heroku%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > > -- 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.
