<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0">
  <channel>
  <title>MongoMapper Google Group</title>
  <link>http://groups.google.com/group/mongomapper</link>
  <description>Support group for MongoMapper ruby gem.</description>
  <language>en</language>
  <item>
  <title>Re: [MongoMapper] Mongo::ConnectionTimeoutError possible problem with threading?</title>
  <link>http://groups.google.com/group/mongomapper/browse_thread/thread/1d84f551981c5cf8/1a2415295934b21d?show_docid=1a2415295934b21d</link>
  <description>
  okay I will dig into the mongo gem a bit then. Thanks.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mongomapper/browse_thread/thread/1d84f551981c5cf8/1a2415295934b21d?show_docid=1a2415295934b21d</guid>
  <author>
  m...@auka.ca
  (Michael Lawlor)
  </author>
  <pubDate>Tue, 14 May 2013 15:43:55 UT
</pubDate>
  </item>
  <item>
  <title>Re: [MongoMapper] Mongo::ConnectionTimeoutError possible problem with threading?</title>
  <link>http://groups.google.com/group/mongomapper/browse_thread/thread/1d84f551981c5cf8/9acae699a3f5b737?show_docid=9acae699a3f5b737</link>
  <description>
  MM just wraps the mongo connection class. I imagine it has connect/disconnect methods. The connection is stored in MongoMapper.connection.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mongomapper/browse_thread/thread/1d84f551981c5cf8/9acae699a3f5b737?show_docid=9acae699a3f5b737</guid>
  <author>
  nunema...@gmail.com
  (John Nunemaker)
  </author>
  <pubDate>Tue, 14 May 2013 15:37:07 UT
</pubDate>
  </item>
  <item>
  <title>Re: [MongoMapper] Mongo::ConnectionTimeoutError possible problem with threading?</title>
  <link>http://groups.google.com/group/mongomapper/browse_thread/thread/1d84f551981c5cf8/227d97e959c4da85?show_docid=227d97e959c4da85</link>
  <description>
  another example is the Sidekiq ActiveRecord middleware that calls :: &lt;br&gt; ActiveRecord::Base.clear_activ e_connections! after a worker thread finishes. &lt;br&gt; &lt;p&gt;&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;https://github.com/mperham/sidekiq/blob/master/lib/sidekiq/middleware/server/active_record.rb&quot;&gt;[link]&lt;/a&gt;
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mongomapper/browse_thread/thread/1d84f551981c5cf8/227d97e959c4da85?show_docid=227d97e959c4da85</guid>
  <author>
  m...@auka.ca
  (Michael Lawlor)
  </author>
  <pubDate>Tue, 14 May 2013 15:34:31 UT
</pubDate>
  </item>
  <item>
  <title>Re: [MongoMapper] Mongo::ConnectionTimeoutError possible problem with threading?</title>
  <link>http://groups.google.com/group/mongomapper/browse_thread/thread/1d84f551981c5cf8/9f1d9485eabf3716?show_docid=9f1d9485eabf3716</link>
  <description>
  Thanks John, &lt;br&gt; &lt;p&gt;Right, Sidekiq uses Celluloid and threads to run its workers. It has a &lt;br&gt; middleware concept similar to Rack that lets you wrap middleware around &lt;br&gt; thread creation/destruction. Kiqstand is one such middleware. &lt;br&gt; &lt;p&gt;I&#39;m not familiar with Mongoid at all, but it apparently has a concept of &lt;br&gt; &amp;quot;sessions&amp;quot; which appear to be mongodb connections that have to be
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mongomapper/browse_thread/thread/1d84f551981c5cf8/9f1d9485eabf3716?show_docid=9f1d9485eabf3716</guid>
  <author>
  m...@auka.ca
  (Michael Lawlor)
  </author>
  <pubDate>Tue, 14 May 2013 15:30:56 UT
</pubDate>
  </item>
  <item>
  <title>Re: [MongoMapper] Mongo::ConnectionTimeoutError possible problem with threading?</title>
  <link>http://groups.google.com/group/mongomapper/browse_thread/thread/1d84f551981c5cf8/87ba7deee9104306?show_docid=87ba7deee9104306</link>
  <description>
  I would assume MM would need the same type of stuff as Mongoid, but I&#39;m not familiar with how sidekiq works beyond that it uses celluloid.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mongomapper/browse_thread/thread/1d84f551981c5cf8/87ba7deee9104306?show_docid=87ba7deee9104306</guid>
  <author>
  nunema...@gmail.com
  (John Nunemaker)
  </author>
  <pubDate>Tue, 14 May 2013 15:20:30 UT
</pubDate>
  </item>
  <item>
  <title>Mongo::ConnectionTimeoutError possible problem with threading?</title>
  <link>http://groups.google.com/group/mongomapper/browse_thread/thread/1d84f551981c5cf8/e6dbe442727a124c?show_docid=e6dbe442727a124c</link>
  <description>
  Hi there, &lt;br&gt; I&#39;ve been running into frequent Mongo::ConnectionTimeoutError exceptions &lt;br&gt; when running MongoMapper behind Sidekiq. &lt;br&gt; I&#39;m running a Sidekiq server with 30 concurrent actors on MRI 1.9.3. I&#39;ve &lt;br&gt; configured Mongo to use a connection pool with 40 connections and a 15 &lt;br&gt; second timeout, figuring that should more than cover me. However I hit
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mongomapper/browse_thread/thread/1d84f551981c5cf8/e6dbe442727a124c?show_docid=e6dbe442727a124c</guid>
  <author>
  m...@auka.ca
  (Michael Lawlor)
  </author>
  <pubDate>Tue, 14 May 2013 15:06:00 UT
</pubDate>
  </item>
  <item>
  <title>Re: [MongoMapper] Group By with Months and genrate reports</title>
  <link>http://groups.google.com/group/mongomapper/browse_thread/thread/8ef75b002ec83ba7/13d476838be06f12?show_docid=13d476838be06f12</link>
  <description>
  Two options are: &lt;br&gt; &lt;p&gt;1. retrieve the data and group it in Ruby. If the dataset is large, you&#39;ll want to batch this &lt;br&gt; 2. write a javascript map/reduce that will run in Mongodb &lt;br&gt; &lt;p&gt;I&#39;d investigate those two approaches and see which you like best. &lt;br&gt; &lt;p&gt;Jamie
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mongomapper/browse_thread/thread/8ef75b002ec83ba7/13d476838be06f12?show_docid=13d476838be06f12</guid>
  <author>
  jamie...@gmail.com
  (Jamie Orchard-Hays)
  </author>
  <pubDate>Mon, 06 May 2013 18:09:17 UT
</pubDate>
  </item>
  <item>
  <title>Group By with Months and genrate reports</title>
  <link>http://groups.google.com/group/mongomapper/browse_thread/thread/8ef75b002ec83ba7/cb911006e58c2733?show_docid=cb911006e58c2733</link>
  <description>
  Hi All, &lt;br&gt; I&#39;ve a Job collection which contain a start date attribute (Date type), I &lt;br&gt; would like to generate reports with data group by with months. &lt;br&gt; By using this start date attribute. &lt;br&gt; Please help. &lt;br&gt; Regards
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mongomapper/browse_thread/thread/8ef75b002ec83ba7/cb911006e58c2733?show_docid=cb911006e58c2733</guid>
  <author>
  farhan.linki...@gmail.com
  (Farhan Abdul Shakoor)
  </author>
  <pubDate>Sat, 04 May 2013 10:17:37 UT
</pubDate>
  </item>
  <item>
  <title>Re: [MongoMapper] You got your Sequel in my MongoMapper</title>
  <link>http://groups.google.com/group/mongomapper/browse_thread/thread/d2de0fe8fca4ac24/584bb4473776e07e?show_docid=584bb4473776e07e</link>
  <description>
  Interesting. They must hijack symbols in a similar fashion to MM. The :item_created_time.desc is what is tripping it up. &lt;br&gt; &lt;p&gt;If you do sort(&amp;quot;item_created_time desc&amp;quot;) it should be ok, but it does stink that they are conflicting.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mongomapper/browse_thread/thread/d2de0fe8fca4ac24/584bb4473776e07e?show_docid=584bb4473776e07e</guid>
  <author>
  nunema...@gmail.com
  (John Nunemaker)
  </author>
  <pubDate>Fri, 03 May 2013 21:15:37 UT
</pubDate>
  </item>
  <item>
  <title>You got your Sequel in my MongoMapper</title>
  <link>http://groups.google.com/group/mongomapper/browse_thread/thread/d2de0fe8fca4ac24/f73173565b93f977?show_docid=f73173565b93f977</link>
  <description>
  Has anyone ever come across this? I&#39;m using Rails 3.2, with both &lt;br&gt; MongoMapper and Sequel, but I don&#39;t have any Sequel models... &lt;br&gt; I have Sequel gem in my Gemfile for a rake task. Now, I am getting this &lt;br&gt; error in my MongoMapper document: &lt;br&gt; undefined method `flatten&#39; for &lt;br&gt; With this query being in my model as a MongoMapper document:
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mongomapper/browse_thread/thread/d2de0fe8fca4ac24/f73173565b93f977?show_docid=f73173565b93f977</guid>
  <author>
  secros...@gmail.com
  (Steven Crosley)
  </author>
  <pubDate>Fri, 03 May 2013 20:23:44 UT
</pubDate>
  </item>
  <item>
  <title>Re: [MongoMapper] How to get specific field of a many-to-many related document?</title>
  <link>http://groups.google.com/group/mongomapper/browse_thread/thread/46ee4ce35d0a1083/ac11a4830e97237f?show_docid=ac11a4830e97237f</link>
  <description>
  ct = ChildTemplate.find(&amp;lt;id&amp;gt;) &lt;br&gt; &lt;p&gt;ct.parameters #=&amp;gt; lazy loads the parameters &lt;br&gt; &lt;p&gt;ct.parameters.build(:your =&amp;gt; value, ...) #=&amp;gt; builds new parameter, but doesn&#39;t save &lt;br&gt; ct.parameters.create(same as above) #=&amp;gt; builds, saves new parameter &lt;br&gt; ct.parameters &amp;lt;&amp;lt; Parameter.new(...) #=&amp;gt; appends, saves new parameter
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mongomapper/browse_thread/thread/46ee4ce35d0a1083/ac11a4830e97237f?show_docid=ac11a4830e97237f</guid>
  <author>
  jamie...@gmail.com
  (Jamie Orchard-Hays)
  </author>
  <pubDate>Mon, 29 Apr 2013 18:53:04 UT
</pubDate>
  </item>
  <item>
  <title>How to describe complex json in Mongomapper</title>
  <link>http://groups.google.com/group/mongomapper/browse_thread/thread/b2c2a2e2fd62cf99/d585d77ad89fb00c?show_docid=d585d77ad89fb00c</link>
  <description>
  Hi there ! &lt;br&gt; I have this kind of document stored in MongoDB: &lt;br&gt; { &lt;br&gt; userid: &amp;quot;someuser&amp;quot;, &lt;br&gt; email: &amp;quot;validemail&amp;quot;, &lt;br&gt; location: &amp;quot;some city&amp;quot; &lt;br&gt; acls: { &lt;br&gt; &amp;quot;canedit&amp;quot;: false, &lt;br&gt; &amp;quot;canview&amp;quot;: true &lt;br&gt; } &lt;br&gt; addresses: [{ &lt;br&gt; street: &amp;quot;&amp;quot;, &lt;br&gt; zipcode: &amp;quot;&amp;quot; &lt;br&gt; }, &lt;br&gt; {
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mongomapper/browse_thread/thread/b2c2a2e2fd62cf99/d585d77ad89fb00c?show_docid=d585d77ad89fb00c</guid>
  <author>
  sezcu...@gmail.com
  (Santiago Ezcurra)
  </author>
  <pubDate>Mon, 29 Apr 2013 17:05:12 UT
</pubDate>
  </item>
  <item>
  <title>Re: [MongoMapper] How to get specific field of a many-to-many related document?</title>
  <link>http://groups.google.com/group/mongomapper/browse_thread/thread/46ee4ce35d0a1083/1b0fb11a0fec009d?show_docid=1b0fb11a0fec009d</link>
  <description>
  Not really, sorry.. Of course I&#39;ve read the documentation, but in there I can&#39;t find what I&#39;m looking for. &lt;br&gt; ----- Reply message ----- &lt;br&gt; To: &amp;lt;mongomapper@googlegroups.com&amp;gt; &lt;br&gt; See if this helps: &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://mongomapper.com/documentation/plugins/associations.html&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; I&#39;m trying to figure out how exactly I could get a specific field of a many-to-many related document.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mongomapper/browse_thread/thread/46ee4ce35d0a1083/1b0fb11a0fec009d?show_docid=1b0fb11a0fec009d</guid>
  <author>
  mariod...@gmail.com
  (mariodesc@gmail.com)
  </author>
  <pubDate>Mon, 29 Apr 2013 15:56:49 UT
</pubDate>
  </item>
  <item>
  <title>Re: [MongoMapper] How to get specific field of a many-to-many related document?</title>
  <link>http://groups.google.com/group/mongomapper/browse_thread/thread/46ee4ce35d0a1083/dbcd63c797acdfd0?show_docid=dbcd63c797acdfd0</link>
  <description>
  See if this helps: &lt;br&gt; &lt;p&gt;&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://mongomapper.com/documentation/plugins/associations.html&quot;&gt;[link]&lt;/a&gt;
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mongomapper/browse_thread/thread/46ee4ce35d0a1083/dbcd63c797acdfd0?show_docid=dbcd63c797acdfd0</guid>
  <author>
  jamie...@gmail.com
  (Jamie Orchard-Hays)
  </author>
  <pubDate>Mon, 29 Apr 2013 15:35:31 UT
</pubDate>
  </item>
  <item>
  <title>How to get specific field of a many-to-many related document?</title>
  <link>http://groups.google.com/group/mongomapper/browse_thread/thread/46ee4ce35d0a1083/1b5d3d1db069e04f?show_docid=1b5d3d1db069e04f</link>
  <description>
  Hi, &lt;br&gt; I&#39;m trying to figure out how exactly I could get a specific field of a &lt;br&gt; many-to-many related document. &lt;br&gt; Here&#39;s a link to my SO question: &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://stackoverflow.com/q/15787618/1313143&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; I have a model called ChildTemplate that has this key: &lt;br&gt; key :used_parameters, Array &lt;br&gt; many :parameters, :in =&amp;gt; :used_parameters
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mongomapper/browse_thread/thread/46ee4ce35d0a1083/1b5d3d1db069e04f?show_docid=1b5d3d1db069e04f</guid>
  <author>
  mariod...@gmail.com
  </author>
  <pubDate>Mon, 29 Apr 2013 09:51:12 UT
</pubDate>
  </item>
  </channel>
</rss>
