Hi!
I want use jquery in my project. I know the javascript_include_tag calls the jqeury plugins, but the tag how works in ruby?
example
<%= javascript_include_tag 'jquery.ui.potato.menu.js' %>
<%= javascript_include_tag 'http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js' %>
<script type="text/javascript">
(function($) {
$(document).ready(function(){
$('#menu1').ptMenu();
});
})(jQuery);
</script>
This is not workink in RoR