Hello all, I''ve installed the acl plugin and all works fine. Now I added a new page where the user can change it''s name and e-mail but it does not work. When I try to save there are always validation errors because the password and password_confirmation because they aren''t present in the form. Can anyone tell me how to correct this? Here is the code: Form: <label for="user_name">Name:</label><%= text_field "user", "name", :size => 30 %> <label for="user_email">Email:</label><%= text_field "user", "email", :size => 30 %> <%= submit_tag "Change", { ''name'' => ''change''} %> Controller: @user = User.find(user_id) @user.name = @params["user"]["name"] @user.email = @params["user"]["email"] if @user.save() # redirect end Model User: validates_presence_of :password, :password_confirmation validates_length_of :password, :within => 5..40 validates_confirmation_of :password Thanks, Migrate -- 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 -~----------~----~----~----~------~----~------~--~---