class GameCode < ActiveRecord::Base attr_accessible :game_id, :new_code, :original_code, :path belongs_to :game end