rails--rails/actionview/lib
Will Jessop fdb6a90794
Remove misleading documentation
The docs for ActionView partial renderer state:

> 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.

The reporter stated:

> I can render a collection of hashes without problems:
>
> = render :partial => "info_row", :collection => my_collection, :as => :d

I tested this in a Rails 6.0 rc2 app and hashes were passed as described. Fixes #36897. [ci skip]
2019-08-10 02:52:15 +01:00
..
action_view Remove misleading documentation 2019-08-10 02:52:15 +01:00
action_view.rb Autoload SyntaxErrorInTemplate 2019-06-19 14:53:24 -04:00