Possible Duplicate:
What does map(&:name) mean in Ruby?
Assume that Game
is an active record model, what does the & mean in the following code?
Games.group_by(&:genre)
Possible Duplicate:
What does map(&:name) mean in Ruby?
Assume that Game
is an active record model, what does the & mean in the following code?
Games.group_by(&:genre)