ruby - What does & mean in this piece of rails code -
possible duplicate:
what map(&:name) mean in ruby?
assume game active record model, & mean in following code?
games.group_by(&:genre)
see this: what call &: operator in ruby?
possible duplicate:
what map(&:name) mean in ruby?
assume game active record model, & mean in following code?
games.group_by(&:genre)
see this: what call &: operator in ruby?
Comments
Post a Comment