DISQUS

ruby on rails blog: Dynamically set a domain for a Rails asset host

  • Espen Antonsen · 9 months ago
    Asset hosts support multiple domains: config.action_controller.asset_host = "assets%d.domain.com"
  • pjammer · 9 months ago
    off topic, but is that your S4??? if so, nice.
  • Lin · 8 months ago
    It's really cool. Does it mean that I can hold more than 4 assets hosting server?
  • ngng · 8 months ago
    You set your hosts in the hash.