You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use publify with this gem. I could upload resources locally, but when I switched to carrierwave-dropbox I get the error Undefined method 'content_type' for #<Hash:0x0000000683a990> while the images are normally uploaded to my dropbox folder. Any idea why this is happening?
Here's the app trace
NoMethodError in Admin::ResourcesController#upload
undefined method `content_type' for #<Hash:0x0000000683a990>
app/uploaders/resource_uploader.rb:42:in `image?'
app/controllers/admin/resources_controller.rb:15:in `upload'
I am trying to use publify with this gem. I could upload resources locally, but when I switched to carrierwave-dropbox I get the error
Undefined method 'content_type' for #<Hash:0x0000000683a990>
while the images are normally uploaded to my dropbox folder. Any idea why this is happening?Here's the app trace
resource_uploader.rb
resources_controller.rb
The text was updated successfully, but these errors were encountered: