From 5f43da70948cca3d62285942d42bd20c81aea7d1 Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Thu, 10 Feb 2022 17:37:03 +0100
Subject: [PATCH] oops

---
 lib/tasks/app.rake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/tasks/app.rake b/lib/tasks/app.rake
index d3d730177..a266e020f 100644
--- a/lib/tasks/app.rake
+++ b/lib/tasks/app.rake
@@ -9,7 +9,7 @@ namespace :app do
   desc 'Fix things'
   task fix: :environment do
     Communication::Website::Post.find_each do |post|
-      post.text_new = clean_for_summernote post.text
+      post.update text_new: clean_for_summernote(post.text)
     end
   end
 
-- 
GitLab