mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix a typo
This commit is contained in:
parent
f8079b815b
commit
a17fc20eb1
2 changed files with 35 additions and 35 deletions
|
@ -1075,7 +1075,7 @@ http://www.gnu.org/software/src-highlite -->
|
|||
render <span style="color: #990000">:</span>partial <span style="color: #990000">=></span> <span style="color: #FF0000">"customer"</span>
|
||||
<span style="font-weight: bold"><span style="color: #0000FF">end</span></span>
|
||||
</tt></pre></div></div>
|
||||
<div class="para"><p>Previously the above code made available a local variable called <tt>customer</tt> available inside the partial <em>customer</em>. You should explicitly pass all the variables via :locals hash now.</p></div>
|
||||
<div class="para"><p>Previously the above code made available a local variable called <tt>customer</tt> inside the partial <em>customer</em>. You should explicitly pass all the variables via :locals hash now.</p></div>
|
||||
<div class="ilist"><ul>
|
||||
<li>
|
||||
<p>
|
||||
|
|
|
@ -401,7 +401,7 @@ def partial_with_implicit_local_assignment
|
|||
end
|
||||
-------------------------------------------------------
|
||||
|
||||
Previously the above code made available a local variable called +customer+ available inside the partial 'customer'. You should explicitly pass all the variables via :locals hash now.
|
||||
Previously the above code made available a local variable called +customer+ inside the partial 'customer'. You should explicitly pass all the variables via :locals hash now.
|
||||
|
||||
* +country_select+ has been removed. See the link:http://www.rubyonrails.org/deprecation/list-of-countries[deprecation page] for more information and a plugin replacement.
|
||||
* +ActiveRecord::Base.allow_concurrency+ no longer has any effect.
|
||||
|
|
Loading…
Reference in a new issue