hai
im ruby on rails developer, im integrating princely plugin and prince
software to my rails application

i have generated pdf file successfully using the following code
 princely = Princely.new()

      html_string = render_to_string(:template => 'test_methods/
visual_test/generate_report.rhtml', :layout=> false)

     send_data(
       princely.pdf_from_string(html_string),
      :filename => 'visual_test',
      :type => 'application/pdf'
     )

now i want to need save the pdf file in my public folder, i have tried
so many types

but till now im not getting any result

please help me

thanks  in advance

Ratnam Raju

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to