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:

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

config.action_controller.perform_caching = true

and:

ActionController::Base.perform_caching = true

to no avail.

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

Stephen

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.

On Oct 27, 9:14 am, “[email protected]