Skip to content
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

Uploading not works with binary as base64 decoded #23

Open
Victoria91 opened this issue Jul 6, 2020 · 0 comments
Open

Uploading not works with binary as base64 decoded #23

Victoria91 opened this issue Jul 6, 2020 · 0 comments

Comments

@Victoria91
Copy link

Victoria91 commented Jul 6, 2020

Here is example https://github.com/Victoria91/base64_example. After you run migrations and setup env variables for AWS, you can run Base64Example.Organization.create_organization that will create organization with image as binary (base64 decoded), if image was not uploaded, it will try to attach the same image with store method provided by definition. In my case upload via cast_attachments never worked, however it always worked via .store

P.S. Looks like there is open pull request related to this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant