On 3 March 2010 13:16, Andy Jeffries <[email protected]> wrote:
> if @user.changed?
> �[email protected]
>   send_mail
> end

... and repeat that in every method that makes any updates to your user...

Whatever works for you, though... it's your code after all.


Be DRY
:-/

-- 
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.

Reply via email to