title: Rails: Set cookie only on www subdomain?
body: <p>I have set up an asset host at assets.domain.com but it appears that cookies are being sent with requests to assets.domain.com. I read somewhere that if you have cookies set to domain.com then this will happen.</p>
  
  <p>So I guess I'm trying to set cookies only to www.domain.com so that requests to assets.domain.com will not send cookies. (I also have a permanent redirect from domain.com to www.domain.com)</p>
  
  <p>How do I do this in Rails??</p>