jkrall/analytical — pull request #50 by freerobby (2012-09-04 23:56:58+00:00)
Title: Hard-code the HTML format for the analytical_javascript partial.

Currently the analytical_javascript partial is referenced without its format/extension. By default, rails will search only for the format/extension of the including page. This can be problematic for apps that use formats other than HTML.

For example, we have a format called "iphone", which we use to render mobile-optimized views using the same controllers as their html counterparts. This PR makes the format/extension explicit so that analytical can be called safely from any page/format.