-
Notifications
You must be signed in to change notification settings - Fork 81
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
Have to reload AR model when saving base64 photos. #62
Comments
@bramski did you sort out a workaround for this? We do a bunch of client params processing in a method far away from having access to the model itself, so we don't have an easy way to reload the model unless we reload every model. |
We're on Rails 5.2, Carrierwave 1.2.3. I'm using Cloudinary as the CDN which has some code that extends Carrierwave, so it's possible that the extended code is breaking it. @bramski were you using Cloudinary as well? |
I'm closing this, until I can reproduce this bug. Feel free to re-open it if it is still actual |
@y9v I can confirm this happens with carrierwave, cloudinary & carrierwave-base64 on rails 4.2.11.1 as well. |
Seeing a bit of odd behavior.
Gemfile.lock:
Model looks like:
In a spec I have the following:
However, the check for presence fails.
If I reload the active record before checking for presence it succeeds.
The text was updated successfully, but these errors were encountered: