select2-rails + act_as_taggable_on rails 4 issue
问题 I installed select2-rails and act_as_taggable_on gem to my app. I setup the act_as_taggable_on and it works (I tested from the console). However, when I tried to create the view so that user can add new tag, it's not working. I want to make a tagging support like this: https://select2.github.io/examples.html#tokenizer. Here is my setup: apps/assets/application.js $(document).ready(function(){ $(".multiple-input").select2({ theme: "bootstrap"; tags: true; tokenSeparators: [','] }) }); apps