././script/console production
...
>> forgetfulUser = User.find(:first, :conditions => {:login => 'richard'})
...
...
>> forgetfulUser.password = 'newPassw0rd'
>> forgetfulUser.password_confirmation = 'newPassw0rd'
>> forgetfulUser.save
and it was done.
No comments:
Post a Comment