Skip to content

Instantly share code, notes, and snippets.

@rrichardsonv
Created January 7, 2017 16:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rrichardsonv/b12d0c8a93d10f172dc01495a98cba02 to your computer and use it in GitHub Desktop.
Save rrichardsonv/b12d0c8a93d10f172dc01495a98cba02 to your computer and use it in GitHub Desktop.
query
Round.find(1).guesses.select(:card_id).where(correct: true).distinct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment