loops in a helper

If you check what each method returns

[1, 2].each {|n| n}

=> [1, 2]

You can understand why your code is not working.

partial_array.inject('') { |out, partial| out << (render :partial => partial)}

may work but I'm not sure if is a good solution.

Paolo