class ActionController::Responder

def to_js

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