Forum: Rails-ES Generara salidas excel o xml para excel

Posted by Angel Mauricio Pino Gonzalez (Guest)
on 2009-06-24 00:26
(Received via mailing list)
Busque y vi lo que hay para xml, acaso no hay similar a usar plantillas 
html?
Mi idea es generara un excel grabarlo como xml y meterle mi código
como en el html con algo <%=  datos %>.

Si no supe buscar me indican.
Gracias
--
Angel Mauricio Pino G
AngelMauricio.PinoGonzalez@gmail.com
Movil: 08-577.92.72
Posted by Ceritium (Guest)
on 2009-06-24 02:56
(Received via mailing list)
http://api.rubyonrails.org/classes/Builder/XmlMarkup.html

Llama la vista index.xml.builder y usa la sintaxis del enlace anterior.

Un ejemplillo http://pastie.org/522390
No se si tiene algún fallo.

2009/6/24 Angel Mauricio Pino Gonzalez 
<angelmauricio.pinogonzalez@gmail.com>:
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.