<%= erb :_nav_bar, layout: false %>
<h2>Goals</h2>
<% @goals.each.do |goal| %>
  <%= erb :"_goal_listing", layout: false, locals: {goal: goal} %>
<% end %>
<%= erb :_nav_bar, layout: false %>
<h2>Goals</h2>
<% @goals.each do |goal| %>
  <%= erb :"_goal_listing", layout: false, locals: {goal: goal} %>
<% end %>
Correct .each.do to .each do
Correct .each.do to .each do
