Is there a helper of some sort? I want to make a javascript file, put it in the rails directories somewhere, and have the file be included in a view so I can use the methods and functions I declare in the file.
A:
<%= javascript_include_tag "jquery" %>
With jquery.js in public/javascripts
marcgg
2009-11-20 08:29:15