Rails 4: text_field for acts_as_taggable_on not separating tags with a comma
I am trying to get the text_field in my form partial to comma-separate acts_as_taggable_on tags. Right now, when I reload the page, the commas disappear so if a field has two or more tags, they become one big tag instead. For instance, I get "Tag1 Tag2 Tag3" instead of "Tag1, Tag2, Tag3". I am using acts-as-taggable-on 3.4.2. Here is my _form.html.erb partial: <h2>Tags:</h2> <p>Please separate the tags with a comma ','</p> <% @article.tag_types.each do |tag| %> <div class="form-group"> <strong><%= label_tag tag.to_s.titleize %></strong><br /> <%= f.text_field "#{tag.to_s.singularize}_list".to