From: ChrisKaelin Date: 2007-04-23T03:25:15+09:00 Subject: Re: once modifier (pickaxe book page 391) On 21 Apr., 09:46, Sebastian Hungerecker wrote: > ChrisKaelin wrote: > > SyntaxError: compile error > > (irb):3: syntax error, unexpected kDO > > (irb):13: can't find string "EOF" anywhere before EOF > > That would be caused by leaving out the "EOF" not by replacing > the for-loop with each. Even more shame for me: it was, because I used ids.each |id| do instead of ids.each do |id| ouch!