daily pastebin goal
92%
SHARE
TWEET

Untitled

a guest Mar 14th, 2018 209 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. >> u.betsets.last.bets.find(:all, :include => :game, :conditions => "games.winner_id = bets.team_id")
  2. +----+-----------+---------+------------+-------------------------+-------------------------+---------------+
  3. | id | betset_id | game_id | team_id    | created_at              | updated_at              | pool_entry_id |
  4. +----+-----------+---------+------------+-------------------------+-------------------------+---------------+
  5. | 33 | 3         | 3603    | 281110142  | 2009-10-15 14:32:15 UTC | 2009-10-15 14:32:15 UTC | 33            |
  6. | 36 | 3         | 3606    | 1166024573 | 2009-10-15 14:32:15 UTC | 2009-10-15 14:32:15 UTC | 36            |
  7. | 38 | 3         | 3608    | 854565970  | 2009-10-15 14:32:15 UTC | 2009-10-15 14:32:15 UTC | 38            |
  8. | 39 | 3         | 3609    | 264531584  | 2009-10-15 14:32:15 UTC | 2009-10-15 14:32:15 UTC | 39            |
  9. | 41 | 3         | 3611    | 2078450470 | 2009-10-15 14:32:15 UTC | 2009-10-15 14:32:15 UTC | 41            |
  10. | 42 | 3         | 3612    | 1452408775 | 2009-10-15 14:32:15 UTC | 2009-10-15 14:32:15 UTC | 42            |
  11. | 43 | 3         | 3613    | 1187371253 | 2009-10-15 14:32:15 UTC | 2009-10-15 14:32:15 UTC | 43            |
  12. | 44 | 3         | 3614    | 1584273928 | 2009-10-15 14:32:15 UTC | 2009-10-15 14:32:15 UTC | 44            |
  13. +----+-----------+---------+------------+-------------------------+-------------------------+---------------+
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top