I have written a small rails app to serve up content to another site via xmlhttprequests that will be operating from another domain (it will not be possible to get them runn
If you're on Rails 2 just add this to your application contoller.
before_filter :set_access def set_access @response.headers["Access-Control-Allow-Origin"] = "*" end
Obviously changing "*" to something a little less open would be a good idea.
"*"