Gracias por el consejo, hoy cuando llego a casa pruebo Firebug para ver si se genera algún error al renderizar.
saludos y gracias poli On 28 April 2011 09:46, Federico Ciliberti <[email protected]> wrote: > Por lo poco que entiendo, y es poco realmente. Tengo entendido que > respond_to responde o renderiza un formato según la petición. Por lo que si > se pide html renderizará format.html y si se pide js format.js. Si no es así > por favor comenten como es el renderizado. > > Un gran saludo. > > 2011/4/27 Paolo Loran <[email protected]> > >> if @line_item.save >> format.html { redirect_to(store_url) } >> format.js { @current_item = @line_item } >> format.xml { render :xml => @line_item, >> :status => :created, >> :location => @line_item } >> > > > > -- > Saludos. > Federico Ciliberti > Area Programación > Pampacom Coop. Ltda. > > _______________________________________________ > Ruby mailing list > [email protected] > http://lista.rubyargentina.com.ar/listinfo.cgi/ruby-rubyargentina.com.ar > >
_______________________________________________ Ruby mailing list [email protected] http://lista.rubyargentina.com.ar/listinfo.cgi/ruby-rubyargentina.com.ar
