Re: How does controller call render when there''s no render in action

Frederick Cheung
Sat, 06 Jun 2009 13:01:17 -0000

On Jun 6, 12:17 pm, Vojto
<zero0...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

> I have a question.
>
> "send(method, *arguments)" this calls action of a controller,
right?

not quite - (at least in the common) case, the method that gets called
is perform_action, which calls default_render if you have not called
render.

Fred
> But if there''s no ''render'' in action - how does
it automatically call
> render and renders the template for the action?
>
> Thanks a lot