My translation works great, but when I try to append a field of my model I get and error:
This is the code:
<%=t :beneficios @offer.benefits %>
this is the error:
app/views/offers/show.html.erb:18: syntax error, unexpected tIVAR, expecting ')'
...er.append=(t :beneficios @offer.benefits );@output_buffer.sa...
The problem is when I try to append the model field. But I can't find a solution on google and I don't think this is an option:
<%=t :beneficios %><%= @offer.benefits %>
Thanks in advance for your help.