Skip to content

Instantly share code, notes, and snippets.

@patmaddox
Created July 27, 2015 15:56
Show Gist options
  • Save patmaddox/fa01ecfd8cd15c727f01 to your computer and use it in GitHub Desktop.
Save patmaddox/fa01ecfd8cd15c727f01 to your computer and use it in GitHub Desktop.
p ['foo', 'foo', 'foo'].map(&:object_id)
p [:foo, :foo, :foo].map(&:object_id)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment