title: rails combining data from 2 different sources in an html table
body: <p>So I get data from two external services:</p>
  
  <pre><code>@list =  ExternalService.get_list
  ids =  @list.map { |member| meber.id }
  
  insurances = ExternalService2.get_insurance
  
  # Get insurance information for each of the ids.
  @coverages = insurances.map { |insurance| InsurancePresenter.new(insurance) }
  
  / In the view
  - @list.each do |member|
    %tbody
      %tr
        %td= member.name
        %td= member.age
  
        / This is the part where I need to get information from the other service
        %td
          - @coverages.each |coverage|
            / method name from the presenter
            = coverage.name 
  </code></pre>
  
  <p>Obvisouly the last part of my code is incorrect because it would print all the coverages on each row.</p>
  
  <p>I was wondering if there is a quick way to combine the 2 and display them in the app.
  If it was a database request it would have been a simple join.</p>