<%= javascript_include_tag "application" %> gets
<script src="/assets/application.js?body=1"
type="text/javascript"></script>.
<%= javascript_include_tag :defaults %> also didn't work.
how to solve this?
thanks.
ruby -v
ruby 1.9.2p290 (2011-07-09) [i386-mingw32]
rails -v
Rails 3.1.1
--
Posted via http://www.ruby-forum.com/.
> how to solve this?
Since in rails 3.1.x the asset pipeline compiles all javascript assets
into the application.js by default just including application.js should
be enough.
I did not look into the documentation, but since this behaviour is
default, I dont think that :default exists anymore in 3.1.
HTH
Norbert