Brian Hogan wrote:
> In your controller, you just need
>
> data = render_to_string({:action => 'create.html.erb',
> :layout=>false})
>
> I'm doing a PDF (using HTMLDOC) that way. Works awesome.
Hi Brian, that works a treat thanks. I'm also trying to output some
information to a pdf. Have you got an email address I can contact you
at?
Thanks
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---