On 9 March 2010 08:31, Tom Mac <[email protected]> wrote: > even if the validations fail, mail is sent to user (What I need is only > if update happens successfully on changed attributes then only mail to > be sent) >
if changed? && save deliver_user_edit_details! else return 'nochange' end -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

