This definitely helps, thank you, but I still am unsure how to pass the 
parameters to the mymodel.pdf_render action?

The only way I know of to pass parameters is as if it were a URL, such 
as with:

   /mymodel/pdf_render?data=BLAH

or something like:

   :controller => 'mymodel', :action => 'pdf_render', :data => "BLAH"


How could I achieve this using the syntax you gave me?

>     a.body = mymodel.pdf_render.render


Sorry for my newbieness, 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.

Reply via email to