Each Policy
has many insurances, i.e. an array of them. To get the net_insurance
of the first one:
<% @policies.each do |policy| %>
<%= policy.insurances.first.net_insurance %>
<% end %>
To print all:
<% @policies.each do |policy| %>
<% policy.insurances.each |insurance| %>
<%= insurance.net_insurance %>
<% end %>
<% end %>