<% @rates.each_pair do |project, rates| %> <%= render :partial => 'hourly_rates/list_project', :locals => {:rates => rates, :project => project} %> <% end %>