From: Jano Svitok Date: 2007-07-13T17:25:43+09:00 Subject: Re: ERb with nested loops-- NG! On 7/13/07, John Joyce wrote: > How do you do nested loops in ERb? > Is it possible? > Every time I attempt it, ERb barfs. I see no problem there. Could you post your attempt to see what's wrong? > Oh, and how can you require a .rb file and use its methods in ERb files? > Does the require line need to be in the erb.cgi file? I think 'require' can be put anywhere. It always 'require's to the top level context. J.