コミットを比較

..
1 コミット
作成者 SHA1 メッセージ 日付
Codex Night Worker dcaf6d5c8e AI: address issue #283 2026-11-12 01:53:46 +09:00
2個のファイルの変更、7行の追加、5行の削除
+2 -5
ファイルの表示
@@ -69,11 +69,8 @@ class TagVersionsController < ApplicationController
parent_tags = parent_tags =
build_version_values(cur_parent_tag_ids, prev_parent_tag_ids, key: :tag_id) build_version_values(cur_parent_tag_ids, prev_parent_tag_ids, key: :tag_id)
.filter_map do |h| .map do |h|
parent = parent_json[h[:tag_id]] { tag: parent_json.fetch(h[:tag_id]),
next unless parent
{ tag: parent,
type: h[:type] } type: h[:type] }
end end
+5
ファイルの表示
@@ -0,0 +1,5 @@
class AddForeignKeyOnDeerjikistsTagId < ActiveRecord::Migration[8.0]
def change
add_foreign_key :deerjikists, :tags, column: :tag_id
end
end