Displaying 1 result from an estimated 1 matches for "my_form_data_mailer".
2006 Jun 10
0
DRY Up Lots o'' Mailers
...es of
forms. It''s daunting when you think about how many files it takes to do
this. I''m not coming up with an obvious "Rails" way to pull it off, so I
thought it''d be good to know if anyone else has worked through this (7 per
form!).
models/
my_form_data.rb
my_form_data_mailer.rb
controllers/
my_form_controller.rb
views/
my_form/
index.rhtml
show.rhtml
my_form_data_mailer/
sent.rhtml
confirm.rhtml
I''ll concede that I have to write this code once, but once for each form? So
the notion begins to occur to me... Hmmmm, maybe there''s...