I use both Prototype and jQuery in my rails app. To resolve the $ conflict I do the following:
<script type="text/javascript">
var $j = jQuery.noConflict();
</script>
This works mostly fine, but I am trying to use a plugin that does not like it and throws a $ is not a function type error.
What can I do to fix it?