Want to avoid feeling like a chump and spending countless hours troubleshooting a crazily-stupid-simple problem?
When you enter a .js in your javascripts directory and include it using a javascript_include_tag, take the <script>
tags off the front and back.
You probably knew that already. Why didn’t you tell me sooner?
About the Author