Mam dwa pytania.Strumień aktywów nie kompresuje javascripts do application.js
jestem co błędne założenie, że wszystkie moje javascripts powinien być skompresowany do application.js domyślnie w szynach 3.1 nawet w trybie rozwoju?
Jeśli nie, to dlaczego mój znacznik ma wszystkie 30 moich javascriptów i ładowanie ich trwa dłużej?
Mój plik application.js wygląda następująco:
//= require jquery
//= require jquery_ujs
//= require jquery-ui
//= require_tree .
I w przeglądarce jest on wyświetlany jako:
// This is a manifest file that'll be compiled into including all the files listed below.
// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
// be included in the compiled file accessible from http://example.com/assets/application.js
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// the compiled file.
//
;
Podczas wszystkich moich innych javascripts są renderowane w całości.
Podziękuj!