From c96fbbb701ec97f9f6c69ca0d51ed3cd895b260e Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sun, 28 Jun 2026 04:56:08 +0200 Subject: Fix tag list rendering in node editor tag_list.to_s produces space-separated output which acts-as-taggable-on 13.0.0 (comma delimiter only) treats as a single tag on re-save. Use join(', ') to render comma-separated tags in the input field. --- app/views/nodes/edit.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/views/nodes/edit.html.erb b/app/views/nodes/edit.html.erb index b45c700..498fa1f 100644 --- a/app/views/nodes/edit.html.erb +++ b/app/views/nodes/edit.html.erb @@ -41,7 +41,7 @@ <%= fields_for @draft do |d| %>
Tags - comma seperated
-
<%= text_field_tag :tag_list, @draft.tag_list %>
+
<%= text_field_tag :tag_list, @draft.tag_list.join(', ') %>
Publish at
<%= d.datetime_select :published_at, :value => @draft.published_at %>
-- cgit v1.3