def evaluate(scope, locals, &block)
      if @engine.respond_to?(:precompiled_method_return_value, true)
        super(scope, locals, &block)
      else
        @engine.render(scope, locals, &block)
      end
    end
def evaluate(scope, locals, &block)
      if @engine.respond_to?(:precompiled_method_return_value, true)
        super(scope, locals, &block)
      else
        @engine.render(scope, locals, &block)
      end
    end
Uses Haml to render the template into an HTML string, then
 wraps it in the neccessary JavaScript to serve to the client.