У меня два вопроса.
Делаю ли я неверное предположение, что в rails 3.1 все мои javascript'ы должны по умолчанию сжиматься в application.js даже в режиме разработки?
Если это не так, то почему в моем теге есть все 30 моих javascript'ов и они долго загружаются?
Мой файл application.js выглядит так:
//= require jquery
//= require jquery_ujs
//= require jquery-ui
//= require_tree .
А в браузере он отображается так:
// 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.
//
;
В то время как все остальные мои javascript'ы отображаются полностью.
Спасибо большое!