re: dev.to open source help/discussion thread (v0) VIEW POST

TOP OF THREAD FULL DISCUSSION
re: How to make yourself an administrator?
 

In rails console you can run:

yourself = User.last
# or
yourself = User.find_by_username('butonix')
yourself.add_role :super_admin

Whatcha working on? More context means I can offer more help. :)

code of conduct - report abuse