Ho due domande.La pipeline di asset non sta comprimendo i javascript in application.js
Sto facendo un presupposto sbagliato che tutti i miei JavaScript devono essere compressi in application.js di default in Rails 3.1, anche in modalità di sviluppo?
In caso contrario, perché il mio tag ha tutti i 30 javascript e il caricamento di forver?
Il mio file application.js si presenta così:
//= require jquery
//= require jquery_ujs
//= require jquery-ui
//= require_tree .
E nel browser viene visualizzato come:
// 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.
//
;
Mentre tutti gli altri miei javascript siano resi in pieno.
Grazie mille!