method

render_template

render_template(template_extension, template, file_path = nil, local_assigns = {})
public

Renders the template which is given as a string as either rhtml or rxml depending on template_extension. The hash in local_assigns is made available as local variables.