Hi, I have two players playing a game.
The game has foreign keys into each player: player1_id, player2_id
From the Player model, I can get the opponent self played if I know which player self was, but I want to agnostically pull everyone that self has played against, regardless of whether self was player1 or player2
I can get it with find_by_sql, but then my named scopes don’t work.
Really struggling to figure this out, looked at the guides, the api, googled, and played around, and I’m running out of time and steam.