Merge pull request #36906 from wjessop/fix_collection_rendering_docs
Remove misleading documentation [ci skip]
This commit is contained in:
commit
9a2e00e27b
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user