Thanks for replying - well, there's not much "sense" in the example 
because I took stuff out, to make it shorter.

Basically, the problem in the original example above is apparently, that 
@agency.agents has a 'length'/'size' of 4, but the counter i does NOT 
get incremented in the loop "self.agents do |agent| ... " ('i' stays 
0...).

But why? What am I missing? I just don't get it...
-- 
Posted via http://www.ruby-forum.com/.