Substitute for the :spacer_template option to rail's "render" method
when working with the :collection option, it seems silly to have to have an entire file just for a spacer, which would probably just be something like "
" for most, so this is a great substitute for
New version with code embedded:
" for most, so this is a great substitute for
<%= render :partial => "thing", :collection => @coll, :spacer_template => "filename_to_file_with_hr_inside_it" %>
New version with code embedded:
<%= @coll.map { |item| render :partial => "thing", :locals => {:thing => item} }.join("
") %>