analytical.head_prepend_javascript raises "undefined method `merge' for nil:NilClass" #51

Closed
readysetawesome opened this Issue Oct 2, 2012 · 1 comment

Projects

None yet

1 participant

@readysetawesome

Added to config/analytical.yml:

production:
development:
kissmetrics:
key: XXXXXXXX
mixpanel:
key: XXXXXXXX

And added the following to my controller:
analytical :use_session_store => true

Added the following to my site's layout, in <head>:
<%= raw analytical.head_prepend_javascript %>

I followed the README, any idea what I might be doing wrong?

I see the problem! Was including the "analytical" keyword in the wrong controller! Duhh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment