Moving to github

This commit is contained in:
2026-03-28 19:24:29 -04:00
commit 036fa7ab33
302 changed files with 17838 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
class CollectionGame < ApplicationRecord
belongs_to :collection
belongs_to :game
# Validations
validates :game_id, uniqueness: { scope: :collection_id, message: "already in this collection" }
end