2014-08-27 150 views

回答

1

假設導軌4:

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