I am working in rails 4 and I have an html.erb that I convert in .png image and in the html it was generated by an each where I change the field of my document with the wicked_pdf, I have several div where in each one I have to put a different background-image and my question is there is some way to put each one the background with the wicked_pdf
<div style="background-image: url(<%= CAMPO A REMPLAZAR CON UN FONDO DISTINTO %>)">
//CONTENIDO
</div>