Skip to content

Commit

Permalink
Update notes
Browse files Browse the repository at this point in the history
  • Loading branch information
durran committed Jul 8, 2012
1 parent 50e48e2 commit 957d5a2
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 9 deletions.
2 changes: 1 addition & 1 deletion en/mongoid/docs/installation.html
Expand Up @@ -141,7 +141,7 @@ <h2>Installation</h2>
Mongoid to your <code>Gemfile</code>.
</p>
<div class="CodeRay">
<div class="code"><pre>gem <span class="string"><span class="delimiter">&quot;</span><span class="content">mongoid</span><span class="delimiter">&quot;</span></span>, <span class="string"><span class="delimiter">&quot;</span><span class="content">~&gt; 3.0.0.rc</span><span class="delimiter">&quot;</span></span>&#x000A;</pre></div>
<div class="code"><pre>gem <span class="string"><span class="delimiter">&quot;</span><span class="content">mongoid</span><span class="delimiter">&quot;</span></span>, <span class="string"><span class="delimiter">&quot;</span><span class="content">~&gt; 3.0.0</span><span class="delimiter">&quot;</span></span>&#x000A;</pre></div>
</div>
<p>
Alternatively you can get the Mongoid gem direcly from rubygems.org:
Expand Down
27 changes: 21 additions & 6 deletions en/mongoid/docs/relations.html
Expand Up @@ -852,8 +852,13 @@ <h3>Operations</h3>
<i>
Push multiple documents onto the relation. If the parent is
persisted, then the child documents will be automatically
saved. <b>This is a batch operation that runs validations, but
no other callbacks.</b>
saved.
<b>Note that while batch operations limit the number
of database calls to a single one for the new documents, it
is in fact at least 2x slower from the Ruby side. This is due
to the fact that 2 iterations over all documents must occur
to ensure that all the before callbacks run before the db hit,
and that all after callbacks have to wait until after.</b>
</i>
</p>
</td>
Expand Down Expand Up @@ -1411,8 +1416,13 @@ <h3>Operations</h3>
<i>
Push multiple documents onto the relation. If the parent is
persisted, then the child documents will be automatically
saved in a single batch. <b>This is a batch operation that runs
validations, but no other callbacks.</b>
saved in a single batch.
<b>Note that while batch operations limit the number
of database calls to a single one for the new documents, it
is in fact at least 2x slower from the Ruby side. This is due
to the fact that 2 iterations over all documents must occur
to ensure that all the before callbacks run before the db hit,
and that all after callbacks have to wait until after.</b>
</i>
</p>
</td>
Expand Down Expand Up @@ -1768,8 +1778,13 @@ <h3>Operations</h3>
<i>
Push multiple documents onto the relation. If the parent is
persisted, then the child documents will be automatically
saved in a single batch. <b>This is a batch operation that
runs validations, but no other callbacks.</b>
saved in a single batch.
<b>Note that while batch operations limit the number
of database calls to a single one for the new documents, it
is in fact at least 2x slower from the Ruby side. This is due
to the fact that 2 iterations over all documents must occur
to ensure that all the before callbacks run before the db hit,
and that all after callbacks have to wait until after.</b>
</i>
</p>
</td>
Expand Down
2 changes: 1 addition & 1 deletion en/moped/docs/installation.html
Expand Up @@ -82,7 +82,7 @@ <h2>Installation</h2>
Moped to your <code>Gemfile</code>.
</p>
<div class="CodeRay">
<div class="code"><pre>gem <span class="string"><span class="delimiter">&quot;</span><span class="content">moped</span><span class="delimiter">&quot;</span></span>, <span class="string"><span class="delimiter">&quot;</span><span class="content">~&gt; 1.0.0.rc</span><span class="delimiter">&quot;</span></span>&#x000A;</pre></div>
<div class="code"><pre>gem <span class="string"><span class="delimiter">&quot;</span><span class="content">moped</span><span class="delimiter">&quot;</span></span>, <span class="string"><span class="delimiter">&quot;</span><span class="content">~&gt; 1.1.1</span><span class="delimiter">&quot;</span></span>&#x000A;</pre></div>
</div>
<p>
Alternatively you can get the Moped gem direcly from rubygems.org:
Expand Down
2 changes: 1 addition & 1 deletion en/origin/docs/installation.html
Expand Up @@ -85,7 +85,7 @@ <h2>Installation</h2>
Origin to your <code>Gemfile</code>.
</p>
<div class="CodeRay">
<div class="code"><pre>gem <span class="string"><span class="delimiter">&quot;</span><span class="content">origin</span><span class="delimiter">&quot;</span></span>, <span class="string"><span class="delimiter">&quot;</span><span class="content">~&gt; 1.0.0.rc</span><span class="delimiter">&quot;</span></span>&#x000A;</pre></div>
<div class="code"><pre>gem <span class="string"><span class="delimiter">&quot;</span><span class="content">origin</span><span class="delimiter">&quot;</span></span>, <span class="string"><span class="delimiter">&quot;</span><span class="content">~&gt; 1.0.4</span><span class="delimiter">&quot;</span></span>&#x000A;</pre></div>
</div>
<p>
Alternatively you can get the Origin gem direcly from rubygems.org:
Expand Down

0 comments on commit 957d5a2

Please sign in to comment.