search for: game_el

Displaying 1 result from an estimated 1 matches for "game_el".

Did you mean: game_1
2007 Sep 23
3
Connecting a row of an unknown table to another row of an unknown table
...r games. Each game has attributes like name, website, review, etc., but each game can also be associated with a set of genres and gameplay elements. The main three tables I''m working with are "games", "genres", "elements", "game_genres", and "game_elements" (the last two being join tables, obviously). The models look like class Game < ActiveRecord::Base has_many :game_genres has_many :genres, :through => :game_genres has_many :game_elements has_many :elements, :through => :game_elements end class Genre < Activ...