[Rails] Re: How to change the value of User attribute

2012-01-18 Thread dmlicht
change you password validation to add :on => :create to your password validation. It makes it so the validations are only called for the specified controller action. example: validates :password, :presence => true, :on => :create Check out the rails guide for more info http://guides.rubyonrails.

[Rails] Re: How to change the value of User attribute

2012-01-18 Thread Daisy Di
Peter Vandenabeele wrote in post #1041264: > On Tue, Jan 17, 2012 at 9:12 AM, Daisy Di wrote: > >> times that is i want to change the value of other attributes, i must >> update the password, if not ,the updating will fail. >> >> how can i update without updating the password ? >> > > Check the Us