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
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---