Last active
August 27, 2015 17:24
-
-
Save gtan66/924672e78ab5476c040e to your computer and use it in GitHub Desktop.
Fix account admin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
account = Account.find_by(uuid: "4092f3a0-8251-0130-f786-123138068411") | |
account_admin = User.find_by(email: "[email protected]") | |
account.account_admin_id = account_admin.id | |
account.account_admin_uuid = account_admin.uuid | |
account.save! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment