From: Douglas Livingstone Date: 2005-04-22T21:27:27+09:00 Subject: Re: for .. in .. else? On 4/21/05, Hal Fulton wrote: > > FWIW I'll offer this (untested) alternative: > > > > <% unless song_list.each do |song|%> > > <% end.empty? %> > > <% end %> > >
Songs
<%= song.name %>
no songs!
> > Now that is nice :) Thanks all, Douglas