On 14/01/2008, Booking Heaven <[EMAIL PROTECTED]> wrote: > NOT work at me, i did same things like you. And at > Group.find(:all).map { |g| g.users.map(&:email) } > it says : > NoMethodError: undefined method 'map' for #<User:0x47d4d18> > > I am using Rails 1.2.3 & Ruby 1.8.5 & OS XP.
make sure you've got the same AR structures (has_many :through or you can play it with has_many, too) as mine. -- r9 = { name: Rie!, ym: riyari3, skype: rubyninja, li: http://linkedin.com/in/ariekeren, fb: http://profile.to/ariekeren, blog: http://tinyurl.com/2bjgvn }