<%= p.shipments.each do |s| %>
I guess you should remove the = sign
<% p.shipments.each do |s| %>
Question
I am trying show the user a table. Problem which I'm facing is the fact that besides outputting what I need in the table, they are also outputted outside it.
Solution
<%= p.shipments.each do |s| %>
I guess you should remove the = sign
<% p.shipments.each do |s| %>