Skip to content

Create Admin Account

Thomas Scherz edited this page Feb 4, 2020 · 3 revisions

rails console

email_address = "[email protected]"

user = User.find_by_email(email_address)

user.roles = "root_admin"

user.save