Set Proxy in Server Side to Get Crossing Domain Ajax Request
proxy_controller.rb
1234567891011
classProxyController<ApplicationController# GET /proxy/:urldefget_handlerequire'open-uri'file=open(params[:url])contents=file.readrender:text=>contentsendend