Frage

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.

https://gist.github.com/maimutza/28dda9cb1055d13e9439

War es hilfreich?

Lösung

<%= p.shipments.each do |s| %>

I guess you should remove the = sign

<% p.shipments.each do |s| %>

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top