I get this weird error while running an App with Rails 3.1 in production.
In app/views/layouts/_javascripts.html.erb (file included in app/views/layouts/application.html.erb)
<%= javascript_include_tag :application %>
Is there any solution to fix it ?
I think you’re not truly using Rails 3.1.
The expansion stuff was taken out of that in favour of using the Asset Pipeline. If you’re still convinced that you really are using Rails 3.1, then perhaps try using a string:
In my Rails 3.1 install, both strings and symbols work fine.