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.
# File actionpack/lib/action_controller/metal/responder.rb, line 171
def to_js
default_render
end