jkrall / analytical

Gem for managing multiple analytics services in your rails app.
MIT License
381 stars 93 forks source link

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

Closed readysetawesome closed 11 years ago

readysetawesome commented 11 years ago

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?

readysetawesome commented 11 years ago

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