If I type in my console
u = User.first
u.friends(&map:username)
I get ["Peter", "Mary", "Jane"] but I also want to show the birthday, so how do I do that? I tried
u.friends(&map:username, &map:birthday)
but this doesn't work.
If I type in my console
u = User.first
u.friends(&map:username)
I get ["Peter", "Mary", "Jane"] but I also want to show the birthday, so how do I do that? I tried
u.friends(&map:username, &map:birthday)
but this doesn't work.