Edge Javascript caching just not working

For some reason, in production, with this one line of code:

javascript_include_tag :all, :cache => true

I get this:

<script cached="true" src="/javascripts/prototype.js?1193454472" type="text/javascript"></script> <script cached="true" src="/javascripts/effects.js?1193454472" type="text/javascript"></script>

<script cached="true" src="/javascripts/dragdrop.js?1193454472" type="text/javascript"></script> <script cached="true" src="/javascripts/controls.js?1193454472" type="text/javascript"></script> <script cached="true" src="/javascripts/all.js?1192673515" type="text/ javascript"></script> <script cached="true" src="/javascripts/application.js?1189968913" type="text/javascript"></script>

I've tried setting production.rb with both the default:

config.action_controller.perform_caching = true


ActionController::Base.perform_caching = true

to no avail.

Did the syntax change? Is this just not implemented yet?


Eh, I always forget to screw around with syntax a bit more.

If you ever have this problem, try:

javascript_include_tag(:all, :cache => true)

The parentheses will let things parse as they should.