Helper method

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|%>

<%= i.title %>
From <%= i.lost_from %> | Dated <%= i.lost_since.strftime("%b %d, %Y") %>
<% end %>
  How can i make a helper method out of this code ???


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs