Problema con pdf-writer, no me abre un pdf solo me pone text

Me llena la página de texto, pero no me abre el pdf… pq?

el código q utilizo es el siguiente:

     @clientes = Qrycliente.find_all

  _pdf = PDF::Writer.new
  _pdf.select_font "Times-Roman"
  _table = PDF::SimpleTable.new
  _pdf.text "CLIENTES" , :font_size => 20, :justification => :center
  @clientes.each do |cliente|
    _pdf.text cliente.nombre + " - " + cliente.Telefono1.to_s ,

:font_size => 15, :justification => :left
_table.data = [“Nombre” => cliente.nombre, “Telefono” =>
cliente.Telefono1]
end
_table.column_order = [ “Nombre”, “Telefono” ]
_table.render_on(_pdf)

send_data _pdf.render, :filename => "clientes.pdf", , :type =>

“application/pdf”

On Mar 22, 2007, at 8:38 AM, Andres wrote:

  _pdf.text "CLIENTES" , :font_size => 20, :justification  
send_data _pdf.render, :filename => "clientes.pdf", , :type =>

“application/pdf”

Algo raro hay porque ese codigo no compila si lo leo bien, hay una
coma de mas en la llamada a send_data.

– fxn