Thanks Steve & Pius. Also, a general thanks to the heroku community. I really like how helpful everyone is, which is probably an extension of how helpful the ruby & rails communities are.
-j On Tue, Sep 21, 2010 at 7:29 AM, Steve Smith <[email protected]> wrote: > We've personally had no issues with Mongoid, not sure tried MongoMapper > though. > > We use the following config/initializer/mongoid.rb: > > settings = URI.parse(ENV['MONGOHQ_URL'] || 'mongodb://localhost/dbname') > database_name = settings.path.gsub(/^\//, '') > > Mongoid.configure do |config| > config.master = Mongo::Connection.new(settings.host, > settings.port).db(database_name) > config.master.authenticate(settings.user, settings.password) if > settings.user > end > > Can't remember where the config came from but it works like a charm so > thanks to whoever created it :-) > > Steve > > -- > http://cloudmailin.com > @cloudmailin > Incoming email for your web app > > > On 21 Sep 2010, at 15:20, Josh Coffman wrote: > > Anyone have thoughts or know if mongo mapper or mongoid work better with > rails 3 on heroku? Tried a couple things with each to see if I liked one > more that the other, but it seems fairly even. Just wondering if one runs > better on heroku & rails3. > > Thanks, > Josh > > @JoshCoffman > 480-270-4578 | josh [at] computeristsolutions [dot] com | > http://computeristsolutions.com > > > -- > 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. > > > -- > 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.
