标签:rod rails 修改 roo password lock 用户密码 save quit
gitlab修改用户密码user=User.where(name: "root").first
user.password=‘12345678‘
user.password_confirmation = ‘12345678‘
user.save!
quit
标签:rod rails 修改 roo password lock 用户密码 save quit
原文地址:https://blog.51cto.com/weimouren/2369503