1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/lib/action_view/renderer
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
..
partial_renderer Fix partial caching ignore repeated items issue 2019-04-04 09:59:06 +08:00
abstract_renderer.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
partial_renderer.rb Remove misleading documentation 2019-08-10 02:52:15 +01:00
renderer.rb Return rendered template information instead of just strings 2019-02-19 13:46:09 -08:00
streaming_template_renderer.rb Use try only when we're unsure if the receiver would respond_to the method 2019-08-01 17:58:00 +09:00
template_renderer.rb Use try only when we're unsure if the receiver would respond_to the method 2019-08-01 17:58:00 +09:00