Skip to content

Instantly share code, notes, and snippets.

@rrichardsonv
Created January 7, 2017 16:52
Show Gist options
  • Select an option

  • Save rrichardsonv/b12d0c8a93d10f172dc01495a98cba02 to your computer and use it in GitHub Desktop.

Select an option

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