search for: game_attributes

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

2010 Dec 01
0
Thinking sphinx + rails 3 issue in results set
...require => ''thinking_sphinx'' My structure is like below: ========================== Model: ===== class User < ActiveRecord::Base include ActionView::Helpers::UrlHelper has_one :profile, :class_name => "UserProfile", :dependent => :destroy has_many :game_attributes, :dependent => :destroy do def game(user, gme,dt) find(:all, :conditions => {:user_id => user.id, :game_id => gme.id, :date => dt}) end end has_and_belongs_to_many :interested_game, :class_name => ''Game'', :join_table => ''int...