Hey so all of the articles I read on this say that if you're going to have two belong_to's to a single table ti should look something like this
belongs_to :player, :foreign_key => "player_one" belongs_to :opponent, :class_name => "Player", :foreign_key => "player_two"
That seems to work okay and I can access the first "player" on the view with object.player.whatever, but I have no idea how to access the second object.
I thought it would be object.opponent.whatever but that doesn't work.