Displaying 1 result from an estimated 1 matches for "nferret".
Did you mean:
ferret
2006 Jan 19
0
Help with nested HABTM relationship
...list.find_by_name("Hot Leads")
37 mailing.contacts.each do |person|
38 puts person.first_name + '' '' + person.last_name
39 # line below prints nothing
40 person.accounts.first {|company| puts company.name }
41 end
42 # => "Johnson\nFerret\nM?ller\n" etc.
--
Posted via http://www.ruby-forum.com/.