partial repeating the output from a collection

I have an array I'm trying to output with partials. The query find
entries in the database correctly but the results are getting
outputted repeatedly.

For example, if there are 3 results from the query it would display
the 3 partials 3 times, if it was 4 it would repeat 4 times etc. Heres
what it would look like if "@albums = Album.find(@albumids) " found 3
ID's