method

to_js

to_js()
public

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