On 7 Jan 2009, at 17:33, Ryan Mckenzie wrote:

>
> Hi everyone,
>
> I have a template called createFile.html.erb which has some ruby  
> code in
> it.  The ruby code pulls information from the database because i'm
> looping through some records.  Is it possible to send all of the
> information in the createFile.html.erb output to the createFile method
> in the controller? I'm wanting to save the content of it all to a text
> file...
>
render_to_string ?

Fred
> Or is there an easier way to produce the same outcome?
>
> Thanks,
> McKenzie.
> -- 
> 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