Skip to content

Instantly share code, notes, and snippets.

@abscondment
Created September 14, 2010 04:00
Show Gist options
  • Save abscondment/578511 to your computer and use it in GitHub Desktop.
Save abscondment/578511 to your computer and use it in GitHub Desktop.
r.map(&:cuisines).flatten.map(&:object_id).uniq.length
=> 2001
r.map(&:cuisines).flatten.map(&:id).uniq.length
=> 73
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment