Merge pull request #36906 from wjessop/fix_collection_rendering_docs

Remove misleading documentation [ci skip]
This commit is contained in:
Carlos Antonio da Silva 2019-08-09 23:51:23 -03:00 committed by GitHub
commit 9a2e00e27b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -105,9 +105,6 @@ def iterate! # :nodoc:
#
# <%= render(partial: "ad", collection: @advertisements) || "There's no ad to be displayed" %>
#
# NOTE: Due to backwards compatibility concerns, the collection can't be one of hashes. Normally you'd also
# just keep domain objects, like Active Records, in there.
#
# == \Rendering shared partials
#
# Two controllers can share a set of partials and render them like this: