lib/holygrail.rb
def request(info, data="")
      context.instance_eval do
        xhr(info["method"].downcase, info["url"], data)
        @response.body.to_s
      end
    end
def request(info, data="")
      context.instance_eval do
        xhr(info["method"].downcase, info["url"], data)
        @response.body.to_s
      end
    end
def request ( info , data = "" ) context . instance_eval do xhr ( info [ "method" ] . downcase , info [ "url" ] , data ) @response . body . to_s end end
Surrogate ajax request
Surrogate ajax request