mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fdb6a90794
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] |
||
---|---|---|
.. | ||
partial_renderer | ||
abstract_renderer.rb | ||
partial_renderer.rb | ||
renderer.rb | ||
streaming_template_renderer.rb | ||
template_renderer.rb |