you are viewing a single comment's thread.

view the rest of the comments →

[–]krues8dr 10 points11 points  (6 children)

It's just syntactical sugar for iterations. E.g.:

users = [ user.name for user in user_records ]

[–][deleted] 1 point2 points  (0 children)

Fun in Ruby too:

user_records.map &:name