Skip to content
This repository has been archived by the owner on Jun 10, 2022. It is now read-only.

carrierwave-postgresql + carrierwave_backgrounder #23

Open
nfedyashev opened this issue Jan 27, 2015 · 0 comments
Open

carrierwave-postgresql + carrierwave_backgrounder #23

nfedyashev opened this issue Jan 27, 2015 · 0 comments

Comments

@nfedyashev
Copy link

Has anyone succeeded in making carrierwave-postgresql and carrierwave_backgrounder working together?

process_in_background :image

causes the following exception:

no implicit conversion of nil into String
/Users/nfedyashev/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/carrierwave-0.10.0/lib/carrierwave/uploader/cache.rb:84:in `basename'
/Users/nfedyashev/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/carrierwave-0.10.0/lib/carrierwave/uploader/cache.rb:84:in `sanitized_file'
/Users/nfedyashev/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/carrierwave-0.10.0/lib/carrierwave/uploader/cache.rb:116:in `cache!'
/Users/nfedyashev/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/carrierwave-0.10.0/lib/carrierwave/uploader/versions.rb:226:in `recreate_versions!'
/Users/nfedyashev/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/bundler/gems/carrierwave_backgrounder-0f75d61c3453/lib/backgrounder/workers/process_asset.rb:12:in `perform'
/Users/nfedyashev/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/bundler/gems/carrierwave_backgrounder-0f75d61c3453/lib/backgrounder/workers/base.rb:6:in `perform'

Without that carrierwave_backgrounder's option conversion works great for my model.
Perhaps anyone with deeper knowledge of carrierwave/carrierwave-postgresql/carrierwave_backgrounder can give me some advice?

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

No branches or pull requests

1 participant