Asset subdomains in Rails
You can make many subdomains simply by adding one string in your production.rb file:
config.action_controller.asset_host = "http://assets%d.example.com"
Written by Yury Lebedev
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#