Forum: Ruby on Rails helper method

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
690d4709a310243d970970036f811f75?d=identicon&s=25 Anant Singh (apsingh1981)
on 2007-06-20 12:34
Hi ..

  Can anyone please let me know what will be the helper method for this
loop ...

   My code is like this , which i have placed in view ...

<% @lost_ftl.each do |i|%>
<table width="100%" border="0" cellspacing="0" cellpadding="0"
    <td width="17%" valign="top">
    <img src="/files/lost/<%=>" width="30" height="30"
vspace="3" hspace="3" class="cssImgBorder" /><br />
    <td width="83%" valign="top"><b><a href="/lost/lost_profile/<%=>"><%= i.title %></a></b><br />
<span class="cssSmall">From <%= i.lost_from %> | Dated <%=
i.lost_since.strftime("%b %d, %Y") %></span>
<% end %>

      How can i make a helper method out of this code ???

This topic is locked and can not be replied to.