+ has_many :game_genres
+ has_many :game_platforms
+
+ validates_presence_of :game_genre_id
+ validates_presence_of :game_platform_id
+
+ def genre
+ GameGenre.find_by_id(game_genre_id)
+ end
+
+ def platform
+ GamePlatform.find_by_id(game_platform_id)
+ end