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

Vojto
Sun, 07 Jun 2009 12:13:10 -0000

Sweet,

so I totally missed perform_action method :)

Thanks :)

On Jun 6, 3:01 pm, Frederick Cheung
<frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
> 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