title: Ruby on Rails 4 Using chosen and acts_as_taggable_on
body: <p>I want to use the autocomplete with Chosen and ActsAsTaggableOn.</p>
  
  <p>I've successfully implemented ActsAsTaggableOn, but totally confused on how to use Chosen.</p>
  
  <p>Can someone help?</p>
  
  <p>Here is my code.</p>
  
  <p><strong>Code</strong></p>
  
  <p>application.js</p>
  
  <pre><code>//= require jquery
  //= require jquery_ujs
  //= require bootstrap
  //= require jquery.turbolinks
  //= require turbolinks
  //= require masonry/jquery.masonry
  //= require_tree .
  //= require chosen-jquery
  </code></pre>
  
  <p>Application.css</p>
  
  <pre><code>*= require chosen
  </code></pre>
  
  <p>pins.js.coffee</p>
  
  <pre><code>  $ -&gt;
    # enable chosen js
    $('#pin_tag_list').chosen()
  </code></pre>
  
  <p>Form:  </p>
  
  <pre><code>&lt;div class="form-group"&gt;
  &lt;%= f.label :tag_list, "Tags (separated by commas)" %&gt;&lt;br /&gt;
  &lt;%= f.text_field :tag_list, class: "form-control" %&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Result:</p>
  
  <p>According to the documentation this should work. However, my text field has now broken to a drop down menu and I can't submit tags.</p>