“An elegant solution for this is to require controller_name in your javascript_include_tag”

masa_iwasakimasa_iwasaki のブックマーク 2015/03/08 16:35

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

Rails 3.1 asset pipeline: how to load controller-specific scripts?

    If I generate a new controller in Rails 3.1, also a javascript file with the name of the controller will added automatically. Firstly, I thought this javascript file will used only, when the relate...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう