Layouts in render_component?

Hi All,

Silly newb question. Is there a reason why :layout is unimplemented
in render_component() ? I’m looking at a situation where that would
seem to be the right answer.

Are there any patches available to add this?

JK

Since a component is meant to be shared/used in more than one place,
the layout would be specified by the render view that contains the
render_component.

-Rob

Rob B. http://agileconsultingllc.com
[email protected]

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