Mongoid. The documentation is the difference. I started with MongoMapper, and it was great, but when I needed to know what was going on, I couldn't figure it out. I had trouble following the source, but that's probably because I'm still a novice ruby developer. John's plugin model was just too sophisticated for me to follow at the time.
On Tue, Sep 21, 2010 at 12:46 PM, Josh Coffman <[email protected]>wrote: > 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]<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.
