Address
Lat
Lon
<% cnt = 0 %> <% @addresses.each { |o| %> <% addr = address_for_geocode(o) %> <% if addr.present? %> <% cnt += 1 %>
<%= addr %>
<% end %> <% } %>
<% if cnt == 0 %>
No objects to geocode!
<% end %>