I am looking at the following blog posting where someone is using jruby
and iText to create a pdf file and then sending it to the browser :
I am using only ruby / on rails.
I would like to do precisely this in ROR and I can get to the second
last line :
document.close <<<--- I can get this document and the m
:type=> “application/pdf”, :dispostion=>“inline”
but I dont know how to send_data to the browser with the document and
is there an equivalent to String.from_java_bytes in ruby?