tap/app/views/orders/_order.html.erb

6 lines
130 B
Text

<%= order.created_at %>
<p>
<% products.each do |product| %>
<%= pluralize(product.count, product.name) %>
<% end %>
</p>