Closed paulsizer closed 4 years ago
I am having a similar problem, except the error is no implicit conversion of Tempfile into String
. I am using the setup as here and in the example used from your commit @Paxa, but it doesn't work
Actually a clarification. If I use the same example as in the commit, I get no implicit conversion of Rack::Test::UploadedFile into String
. If I use remote_url approach from shrine, I get the Tempfile into String error
I realised that I need to fetch directly from github, as latest changes are not published in the gem 😄 It also seems to not work with transformations and remote URLs. If I just upload an actual file, as in the example, it'll work (but fail in transformations)
I seem to be getting the following error when submitting my form for my model:
no implicit conversion of ActionDispatch::Http::UploadedFile into String
Some details of my setup are below:
Rails 6.0.2.2 Ruby 2.6.0p0 gem 'fog-backblaze', '~> 0.3.0’ gem 'shrine-fog', '~> 2.0', '>= 2.0.1’ gem 'shrine', '~> 3.2', '>= 3.2.1'
Model
Image Uploader
Shrine.rb
Controller Code Where it is blowing up
Do you know what this could be?