title: Chosen Plug-in still not working
body: <p>I'm trying to use the Chosen jquery plugin, i have all the right files but i can't call the function correctly. I took a look at the java error console, it loads but i get the error:</p>
  
  <pre><code>Error: $(".chzn-select").chosen is not a function
  Source File: http://localhost:3000/javascripts/application.js?1312657233
  </code></pre>
  
  <p>This is my application.js( the only thing inside of it):</p>
  
  <pre><code>jQuery(function($){
      $('.chzn-select').chosen();
  });
  </code></pre>
  
  <p>This the form code i am using:</p>
  
  <pre><code>&lt;%= select("user_product", "product_id", Product.all.collect {|p| [ p.name, p.id ] }, {},{:class=&gt;'chzn-select'}) %&gt;
  </code></pre>
  
  <p>javascript folder:</p>
  
  <pre><code>application.js
  chosen.jquery.js
  jquery_ujs.js
  jquery.js
  jquery.min.js
  jquery.tokeninput.js
  </code></pre>
  
  <p>How do i call this correctly so i can get this working or maybe a change in my form?</p>