タグの合併処理追加(#282) (#284)

#282

#282

#282

#282

#282

#282

Co-authored-by: miteruzo <miteruzo@naver.com>
Reviewed-on: #284
このコミットはPull リクエスト #284 でマージされました.
このコミットが含まれているのは:
2026-03-08 15:46:05 +09:00
コミット 16e9b8ca49
13個のファイルの変更138行の追加51行の削除
+1 -1
ファイルの表示
@@ -8,7 +8,7 @@ class WikiLine < ApplicationRecord
sha = Digest::SHA256.hexdigest(body)
now = Time.current
upsert({ sha256: sha, body:, created_at: now, updated_at: now })
upsert(sha256: sha, body:, created_at: now, updated_at: now)
find_by!(sha256: sha)
end