scope = Celebrity.find(10).tweet
Celebrity Load (0.5ms) SELECT `celebrities`.* FROM `celebrities` WHERE `celebrities`.`id` = 10 LIMIT 1
Tweet Load (38.2ms) SELECT `tweets`.* FROM `tweets` WHERE `tweets`.`celebrity_id` = 10
Created
January 23, 2017 10:34
-
-
Save VictorTpo/9fbe574acaa48163e7e94899cb2c4e34 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment