From: James Edward Gray II Date: 2007-01-01T01:19:08+09:00 Subject: Re: ERb Request On Dec 31, 2006, at 9:52 AM, matt wrote: > Yes, it can span several lines of text, > > But is it clever enough to: > > <%# > <% for photo in @listing.photos %> > <% and more Ruby processing in an rhtml file %> > %> No. ERb doesn't support nested tags. > The request is primarily for 2 things within an rhtml file (possibly > other applications): > > 1) block comments of ERb code > 2) non-processing / non-display of these block comments I like the idea. As a workaround, use your editor's ability to find and replace in a selection, swapping <% for <%#. James Edward Gray II