How to stop double rendering in sidebar?
问题 The code is double rendering like so: when it should just list it out once like so: Ran 1 miles Apr Journal 1 days Apr views/layouts/_stats.html.erb <% @averaged_quantifieds.each do |averaged| %> <% averaged.results.each do |result| %> <div class="<%= result.good? ? 'green' : 'red' %>"> <li> <%= raw averaged.tag_list.map { |t| link_to t.titleize, tag_path(t) }.join(', ') %><%= link_to edit_quantified_path(averaged) do %> <%= averaged.results.first.result_value %> <%= averaged.metric %> <span