Skip to content

Instantly share code, notes, and snippets.

@mdedetrich
Created October 29, 2013 00:34
Show Gist options
  • Save mdedetrich/7207282 to your computer and use it in GitHub Desktop.
Save mdedetrich/7207282 to your computer and use it in GitHub Desktop.
User Bids
val declinedBidIds = declinedBidsThisRound.map(_.user.id)
val currentBidsAlreadyMadeIds = currentBidsAlreadyMade.map(_.user.id)
val clientUsers = {for(
u <- Users if (u.id notIn declinedBidIds
&& u.completedSignup === true)
) yield u}.list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment