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

Vojto
Sat, 06 Jun 2009 11:17:59 -0000

Hello,

I was studying Rails source and at this point:

def process(request, response, method = :perform_action, *arguments)
#:nodoc:
        response.request = request

        initialize_template_class(response)
        assign_shortcuts(request, response)
        initialize_current_url
        assign_names

        log_processing
        send(method, *arguments)

        send_response

I have a question.

"send(method, *arguments)" this calls action of a controller, right?
But if there''s no ''render'' in action - how does it
automatically call
render and renders the template for the action?

Thanks a lot