diff options
author | José Valim <jose.valim@plataformatec.com.br> | 2012-01-31 15:34:02 +0100 |
---|---|---|
committer | José Valim <jose.valim@plataformatec.com.br> | 2012-01-31 15:34:02 +0100 |
commit | 9a76e1f92f3f5b5e40ee26d3b975366e952cd742 (patch) | |
tree | 3131e9c2e03a2a4eebbef16236739cd345cb77dc | |
parent | 98e1735d1d622ad07a8441df4eb280d7a8e96a05 (diff) | |
download | rails-9a76e1f92f3f5b5e40ee26d3b975366e952cd742.tar.gz rails-9a76e1f92f3f5b5e40ee26d3b975366e952cd742.tar.bz2 rails-9a76e1f92f3f5b5e40ee26d3b975366e952cd742.zip |
Update actionpack/lib/action_view/renderer/partial_renderer.rb
-rw-r--r-- | actionpack/lib/action_view/renderer/partial_renderer.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/renderer/partial_renderer.rb b/actionpack/lib/action_view/renderer/partial_renderer.rb index e231aade01..fac5f59a17 100644 --- a/actionpack/lib/action_view/renderer/partial_renderer.rb +++ b/actionpack/lib/action_view/renderer/partial_renderer.rb @@ -85,8 +85,7 @@ module ActionView # == Rendering objects that respond to `to_partial_path` # # Instead of explicitly naming the location of a partial, you can also let PartialRenderer do the work - # and pick the proper path by checking `to_proper_path` method. If the object passed to render is a collection, - # all objects must return the same path. + # and pick the proper path by checking `to_proper_path` method. # # # @account.to_partial_path returns 'accounts/account', so it can be used to replace: # # <%= render :partial => "accounts/account", :locals => { :account => @account} %> |