문제

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

도움이 되었습니까?

해결책

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

I guess you should remove the = sign

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top