From: Snow Man Date: 2007-01-12T21:19:38+09:00 Subject: Re: A loop within another loop.. Are you sure your code does what you want? It looks like your "user.each" block returns after the first iteration and never gets to the second one. It might help if you formatted your code in a more conventional way in your post. -- Posted via http://www.ruby-forum.com/.