pdf gem modified to prawn