Hello,
can someone experienced please explain to me what are the main
differences between the `render` methods in `ActionController` and in
`ActionView`?
I mean: arguments, internal working, purpose, rendering "layouts",
what are the differences?
I am looking into this because i want to better understand what
`render` does with its block, and if it is different when passing a
block to `render` in a controller or in a view.
I would like to be able to do something like this, but so far haven''t
been successful:
```
render "sublayout_of_the_application_layout" do
render "sublayout_of_the_sublayout" do
render "my_view_here_rendered_in_three_nested_layouts"
end
end
```
Thank you.
Alexey.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.