In Rails 3.1.12 view, we would like to iterate starting from 2nd record. Here is the code:
<%= f.fields_for :task_templates, @project_task_template.task_templates.offset(1).each do |builder| %>
<p><%= render('task_templates', :f => builder) %></p>
<% end if @project_task_template.task_templates.size > 1 %>
What we find out is that the first record is still showing in the view and offset(1) is not skipping the first record. What's the right way to iterate starting from 2nd record in Rails (without checking the order of the record)?