Rendering a collection of partial inserted in their layout

hi !

i’ve to render a collection of partial, each element need to be inserted
in a layout which render the html presentation.

collection_element_1
collection_element_2
...

render :partial, collection => @collection, :layout =>
‘layouts/my_layout’
=> render the hole collection in a global layout

How would you do ?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs