ok Tamouse Thank You. let me try this. :)
On Sun, Jan 27, 2013 at 2:28 PM, tamouse mailing lists <
tamouse.li...@gmail.com> wrote:
> On Sat, Jan 26, 2013 at 9:01 PM, Saravanan P
> wrote:
> > I dont think it will helpful, below is my code,
> >
> > // in my model
> >
> > content = File.read
On Sat, Jan 26, 2013 at 9:01 PM, Saravanan P wrote:
> I dont think it will helpful, below is my code,
>
> // in my model
>
> content = File.read "#{Rails.root}/app/to/mytemplate.html.erb"
> template = ERB.new(content)
> html_content = template.result(binding)
> pdf= WickedP
I dont think it will helpful, below is my code,
// in my model
content = File.read "#{Rails.root}/app/to/mytemplate.html.erb"
template = ERB.new(content)
html_content = template.result(binding)
pdf= WickedPdf.new.pdf_from_string(html_content)
save_path = "#{Rails.roo
Using Paperclip, you should be able to configure to store your pdfs onto
amazon s3.
https://github.com/thoughtbot/paperclip
Cheers,
GT
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving em
4 matches
Mail list logo