title: How to add custom tags in select2
body: <p>In rails 4.0, I am using bootstrap's select2 plugin. In this plugin i need to add my own tags but right now custom entry is not allowing. How can i fix this issue? Which option i need to enable?</p>
  
  <p>For code reference - <a href="http://ivaynberg.github.io/select2/" rel="nofollow">http://ivaynberg.github.io/select2/</a></p>
  
  <p>In views,</p>
  
  <pre><code>$('#DIV_NAME').select2({
   placeholder: "Search for a names",
   multiple: true,
   ajax: { 
     url: "autocomplete/names",
     dataType: 'json',
     data: function (term) {
       return { q: term };
     },
     results: function (data) {
       return {results: data};
     }
   }
  });
  </code></pre>
  
  <p>Please help me to solve this issue.</p>