On 3 March 2010 13:16, Andy Jeffries <andyjeffr...@gmail.com> wrote:
> if @user.changed?
> �...@user.save
>   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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to