method

compile_and_render_template

rails latest stable - Class: ActionView::Base

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1.0.0) is shown here.

compile_and_render_template(extension, template = nil, file_path = nil, local_assigns = {})
public

Either, but not both, of template and file_path may be nil. If file_path is given, the template will only be read if it has to be compiled.