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

7
app/models/game_genre.rb Normal file
View File

@@ -0,0 +1,7 @@
class GameGenre < ApplicationRecord
belongs_to :game
belongs_to :genre
# Validations
validates :game_id, uniqueness: { scope: :genre_id, message: "already has this genre" }
end