Closed ACPK closed 10 years ago
Can you reproduce it in a newly generated rails app?
I ran into this issue when the analytical
macro hadn't been called on a particular controller that didn't inherit from ApplicationController
. For me the fix was simple: make sure analytical
was called in all controllers, not just those inheriting from ApplicationController
.
Makes sense. Closing this for now. If anyone has a good workaround or a better error message for analytical.head_prepend_javascript, please send in a pull request!
Since we use HAML, I added the line below to the beginning of my header but it causes an "undefined merge issue".
= raw analytical.head_prepend_javascript