-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ActiveStorage #164
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It appears that if you use ActiveStorage in a data migration, all of the ActiveStorage 'uploads' only happen after the migration is finished, rather than as it is progressing. This seems to be causing a problem when attaching more than one file to a record created in a data migration, as it creates the records for all of them, but only actually uploads the last one.
If I literally cut and paste the code into a rake task, and have the migration run the rake task, it works as expected.
The text was updated successfully, but these errors were encountered: