Imprimir código html en Ruby

<%=raw CGI.unescape_html(@codigo_html) %>

Si editamos el código mediante algún editor:

<%=raw @contribuyente.informacion_adicional.html_safe %>

Leave a Reply

Your email address will not be published. Required fields are marked *