NoBrainer CarrierWave Adapter
Include in your Gemfile:
gem 'carrierwave', github: 'carrierwaveuploader/carrierwave' gem 'carrierwave-nobrainer', github: 'nviennot/carrierwave-nobrainer'
Note: this adapter has only been tested with the master branch of carrierwave, not the 0.10.0 version from Feb. 2014.
Use carrierwave as usual.
As an added feature, you may pass
:filename => 'some_filename.png' to themount_uploader` method options. For example:
mount_uploader :icon, SomeUploader, :filename => 'icon.png'
This will have the effect of not storing this static filename in the document to avoid polluting the DB with useless fields.