Closed vinhlh closed 8 years ago
Using the console, turn that account into an admin user (user.update(is_admin:true, approved: true))
How to access this console?
❯❯❯ heroku run --app APP_NAME console user = User.where(id: 1) user.update_all(approved: 1)
Using the console, turn that account into an admin user (user.update(is_admin:true, approved: true))
How to access this console?