ActionMailer Validation


#1

Hi,

Could someone give me some advice on how to validate some form data
with ActionMailer? I’ve seen the HowTos on the RoR wiki but I’m still
not able to get it working. I just need to validate some basic data,
name, email ect. before sending the email. Would it be easiest to
write my own validator or inherit ActiveRecord’s?

Thanks,
Joe


#2

Have a look at:

http://rtfm.calicowebdev.com/2007/1/12/validation-without-database-table

Note this URL will change soon.

–steve