エントリーの編集

エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
#10913 (Using js/css :cache when also using --prefix option for rails) - Rails Trac - Trac
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています

- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
#10913 (Using js/css :cache when also using --prefix option for rails) - Rails Trac - Trac
Description When a rails app is "mounted" at a prefix'd path (ie - mongrel_rails start --prefix=/... Description When a rails app is "mounted" at a prefix'd path (ie - mongrel_rails start --prefix=/prefix), the path that is tried to be read by the caching for JS files is wrong. With caching on, this code... <%= javascript_include_tag '/dir/file.js', :cache => 'simple' %> ...leads to... <script src="/prefix/javascripts/simple.js" type="text/javascript"></script> ..which is correct. However, the f