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