From 9287d03d78c332e5402d96dd7f72ce484c6c1ef0 Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Thu, 29 May 2025 12:39:14 +0200 Subject: [PATCH] Cleanup --- script/convert_markdowns_to_rich_text.rb | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/script/convert_markdowns_to_rich_text.rb b/script/convert_markdowns_to_rich_text.rb index 29e71b31b..fabe99a92 100755 --- a/script/convert_markdowns_to_rich_text.rb +++ b/script/convert_markdowns_to_rich_text.rb @@ -29,7 +29,6 @@ class MarkdownToActionTextConverter src = img["src"].presence if src && match = src.match(ATTACHMENT_URL_REGEX) if (attachment = find_attachment(match[:slug])) - puts "REEMPLAZO #{build_attachment_node(attachment).to_html}" img.replace(build_attachment_node(attachment)) @attachments << attachment end @@ -104,13 +103,3 @@ ApplicationRecord.with_each_tenant do |tenant| warn "✗ Failed to process markdown ##{markdown.id}: #{e.class} - #{e.message}" end end - -# create_table "action_text_markdowns", force: :cascade do |t| -# t.text "content", default: "", null: false -# t.datetime "created_at", null: false -# t.string "name", null: false -# t.integer "record_id", null: false -# t.string "record_type", null: false -# t.datetime "updated_at", null: false -# t.index ["record_type", "record_id"], name: "index_action_text_markdowns_on_record" -# end