<% if property_listing.size > 0 %>

Property Details

<% property_listing.each_with_index do |prop, i| %> <%= yieldall :object => prop, :owner => object, :index => i %> <% end %>
<% end %>