Added to gemfiles
gem 'bootstrap_tokenfield_rails' Added to application.js:
//= require bootstrap-tokenfield Added application.scss
@import bootstrap-tokenfield Using form_for I try to use it in the view, but the field as it was an ordinary select has remained.
<%= f.select :tag_ids, Tag.all.collect {|t| [t.name, t.id]}, {}, multiple: true, class: 'tokenize' %>