Skip to content

Commit

Permalink
Fix typos in release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
lifo committed Oct 24, 2008
1 parent 559178b commit 5cf9323
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion railties/doc/guides/html/2_2_release_notes.html
Expand Up @@ -935,7 +935,7 @@ <h3 id="_other_active_support_changes">9.4. Other Active Support Changes</h3>
</li>
<li>
<p>
<tt>Enumerable#several?</tt> to encapsulate <tt>collection.size &gt; 1</tt>
<tt>Enumerable#many?</tt> to encapsulate <tt>collection.size &gt; 1</tt>
</p>
</li>
<li>
Expand Down
8 changes: 4 additions & 4 deletions railties/doc/guides/html/layouts_and_rendering.html
Expand Up @@ -1190,7 +1190,7 @@ <h4 id="_passing_local_variables">3.4.4. Passing Local Variables</h4>
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
<pre><tt>new.rhtml.erb:
<pre><tt>new.html.erb:

<span style="font-weight: bold"><span style="color: #0000FF">&lt;h1&gt;</span></span>New zone<span style="font-weight: bold"><span style="color: #0000FF">&lt;/h1&gt;</span></span>
&lt;%= error_messages_for :zone %&gt;
Expand Down Expand Up @@ -1240,7 +1240,7 @@ <h4 id="_rendering_collections">3.4.5. Rendering Collections</h4>
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
<pre><tt>index.rhtml.erb:
<pre><tt>index.html.erb:

<span style="font-weight: bold"><span style="color: #0000FF">&lt;h1&gt;</span></span>Products<span style="font-weight: bold"><span style="color: #0000FF">&lt;/h1&gt;</span></span>
&lt;%= render :partial =&gt; "product", :collection =&gt; @products %&gt;
Expand Down Expand Up @@ -1273,7 +1273,7 @@ <h4 id="_rendering_collections">3.4.5. Rendering Collections</h4>
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
<pre><tt>index.rhtml.erb:
<pre><tt>index.html.erb:

<span style="font-weight: bold"><span style="color: #0000FF">&lt;h1&gt;</span></span>Products<span style="font-weight: bold"><span style="color: #0000FF">&lt;/h1&gt;</span></span>
&lt;%= render :partial =&gt; @products %&gt;
Expand All @@ -1288,7 +1288,7 @@ <h4 id="_rendering_collections">3.4.5. Rendering Collections</h4>
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
<pre><tt>index.rhtml.erb:
<pre><tt>index.html.erb:

<span style="font-weight: bold"><span style="color: #0000FF">&lt;h1&gt;</span></span>Contacts<span style="font-weight: bold"><span style="color: #0000FF">&lt;/h1&gt;</span></span>
&lt;%= render :partial =&gt; [customer1, employee1, customer2, employee2] %&gt;
Expand Down
2 changes: 1 addition & 1 deletion railties/doc/guides/source/2_2_release_notes.txt
Expand Up @@ -349,7 +349,7 @@ Lead Contributor: link:http://workingwithrails.com/person/5830-daniel-schierbeck
* The addition of +ActiveSupport::Rescuable+ allows any class to mix in the +rescue_from+ syntax.
* +past?+, +today?+ and +future?+ for +Date+ and +Time+ classes to facilitate date/time comparisons.
* +Array#second+ through +Array#tenth+ as aliases for +Array#[1]+ through +Array#[9]+
* +Enumerable#several?+ to encapsulate +collection.size > 1+
* +Enumerable#many?+ to encapsulate +collection.size > 1+
* +Inflector#parameterize+ produces a URL-ready version of its input, for use in +to_param+.
* +Time#advance+ recognizes fractional days and weeks, so you can do +1.7.weeks.ago+, +1.5.hours.since+, and so on.
* The included TzInfo library has been upgraded to version 0.3.11.
Expand Down
8 changes: 4 additions & 4 deletions railties/doc/guides/source/layouts_and_rendering.txt
Expand Up @@ -768,7 +768,7 @@ You can also pass local variables into partials, making them even more powerful

[source, html]
-------------------------------------------------------
new.rhtml.erb:
new.html.erb:

<h1>New zone</h1>
<%= error_messages_for :zone %>
Expand Down Expand Up @@ -819,7 +819,7 @@ Partials are very useful in rendering collections. When you pass a collection to

[source, html]
-------------------------------------------------------
index.rhtml.erb:
index.html.erb:

<h1>Products</h1>
<%= render :partial => "product", :collection => @products %>
Expand Down Expand Up @@ -851,7 +851,7 @@ There's also a shorthand syntax available for rendering collections. For example

[source, html]
-------------------------------------------------------
index.rhtml.erb:
index.html.erb:

<h1>Products</h1>
<%= render :partial => @products %>
Expand All @@ -865,7 +865,7 @@ Rails determines the name of the partial to use by looking at the model name in

[source, html]
-------------------------------------------------------
index.rhtml.erb:
index.html.erb:

<h1>Contacts</h1>
<%= render :partial => [customer1, employee1, customer2, employee2] %>
Expand Down

0 comments on commit 5cf9323

Please sign in to comment.