How to programmatically create accounts in bulk #185
Answered
by
whysthatso
whysthatso
asked this question in
Q&A
-
I have a bunch of existing accounts that i need to import into an app. Let's say i have an I expect to find an entry in accounts, accounts_verification_keys, and profiles. In the rails console so far i tried 'Account.create(email: "email")' but i guess that does not execute the hooks. It does create an entry into |
Beta Was this translation helpful? Give feedback.
Answered by
whysthatso
Dec 15, 2022
Replies: 1 comment 1 reply
-
ah, i guess that's the section Outside of a request https://github.com/janko/rodauth-rails#outside-of-a-request |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
whysthatso
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ah, i guess that's the section Outside of a request https://github.com/janko/rodauth-rails#outside-of-a-request