method

to_js

rails latest stable - Class: ActionController::Responder

Method deprecated or moved

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

to_js()
public

to_js simply tries to render a template. If no template is found, raises the error.