Hello! I''m trying to create a user update action, and I want to check so that the user has entered his correct old password before changing it. I''ve been googeling for a while but I can''t find any good tips. I''m thinking of adding a ''old password'' column to my User model but I don''t know if thats necessary. My current update action locks like this: def update @user = User.find(params[:id]) if @user.update_attributes(params[:user]) flash[:success] = "Din profil har uppdaterats." redirect_to @user else @title = "Redigera profil" render ''edit'' end end I''ve tried a couple of things whiteout good result. Any general tips would be greatly appreciated. Thanks // Anders -- 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.