2014-08-27 99 views

回答

1

假设导轨4:

user = User.find_by email: "[email protected]" 
user.update!(admin: true)