I’m using the redirect_to method with a :host parameter to change
subdomains in a few places in my app, in one place it redirects to the
url with the correct subdomain perfectly but in the current instance
rails spits out:
You are being redirected.
and firebug catches the error:
uncaught exception: Security Error: Content at {url} may not load data
from {url with different subdomain}.
I haven’t been able to find much information about this. Why would
redirect_to( :host => etc…) work in some areas but not here? Would it
have something to do with a user being ‘logged in’? What direction
should I go to investigate a solution this problem?
Thanks
-jon