Displaying 2 results from an estimated 2 matches for "m000801".
Did you mean:
m000201
2006 Jun 09
3
email when validation fails
Hi,
Say I want to send an email to someone every time a validation fails
in any model. What would be the best way of doing that?
Thanks,
Joe
2006 Jun 09
0
Re: Rails Digest, Vol 21, Issue 195
...Subject: [Rails] Re: email when validation fails
To: rails@lists.rubyonrails.org
Message-ID: <408ee5cf016ba44c71dc91c9007abdd9@ruby-forum.com>
Content-Type: text/plain; charset=utf-8
I think the valid? function is your answer.
http://api.rubyonrails.com/classes/ActiveRecord/Validations.html#M000801
Roland
--
Posted via http://www.ruby-forum.com/.
------------------------------
Message: 8
Date: Fri, 9 Jun 2006 20:09:20 +0200
From: Dorian <bigdorian@otherag.com>
Subject: [Rails] blank division after update
To: rails@lists.rubyonrails.org
Message-ID: <c4352f9f5d00785e8352384fd45f4...