Render another collection for each 2 records in Rails
<p>I have <code>Job</code> and <code>Project</code> models.
I need to render project record after each 2 jobs. Having 2 AR collections: <code>@jobs</code> and <code>@projects</code></p>

<p>For example:</p>

<pre><code>Job 1
Job 2
Project 1
Job 3
Job 4
Project 2
</code></pre>

<p>How can I do this?</p>