Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
本番環境でアセットに使用されるパスを変更するにはどうすればよいですか? アセットを CDN にプッシュしていますが、Rails はファイル名の前に /assets/ を付け続けますが、これは CDN のパスではありません。
それを見つけた
config.assets.prefix
http://guides.rubyonrails.org/configuring.html#configuring-assets