I would like to write form data into a file, and I would like
to know if there's a way for me to use an ERB template
directly to output the file to disk?
I was going to use a series of puts("Full name: @order.full_name")
statements, but thought, there MUST be a better way!
any help or advice on what would be the most efficient way to
tackle this in RoR would be much appreciated.
ex ERB I used for generating the e-mail:
Full name: <%= @order.full_name %>
<%= @order.notes %>
<%= render(:partial => "./line_item", :collection =>