Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
user_ids = users.map(&:id)
@itzsaga

This comment has been minimized.

Copy link

@itzsaga itzsaga commented May 5, 2017

Saw this in your Medium post. Do you have a good doc to read about how &:id is implemented? Not sure what to search to find this. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment