我想缩短这段代码:
<% childrens.each do |children| %>
<% dad = children.dad %>
<tr>
<td><%= dad.first_name %><%= dad.last_name %></td>
<td><%= children.city %></td>
<tr>
....
有没有办法以某种方式写出来:
<% childrens.each do |children, dad| %>
由于