Follow the book Agile Web Development with Rails, copy the depot''s Model User. And my Users table has another two fields, address and email. When I tried to update these two fields, the code like user = User.find(1) user.update_attributes!(:address => "abc", :email => "abc-CIU10vNcIfw@public.gmane.org") then gave me an error: Validation failed: Password can''t be blank but I don''t wanna update the password, how can I solve the problem? Thanks! -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---