Hi Conrad

    Thanks for your reply. But this is not working for 
update_attributes. What I tried is in update action

@user = User.find(params[:id])
if @user.update_attributes(params[:user])
   send_mail if @user.changed?  #But this is always returns false Not 
working
    ---------
else
----
end


Thanks
Tom
-- 
Posted via http://www.ruby-forum.com/.

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