Closed mxmzb closed 6 years ago
Not sure I see where that message is coming from @thelamborghinistory -- I've used extension_white_list consistently throughout my app.
This is a Carrierwave related issue. They have renamed extension_white_list to extenstion_whitelist. https://github.com/carrierwaveuploader/carrierwave/issues/1896#issuecomment-208846564
@mxmzb this happens when using Carrierwave 1.0 or higher. Currently carrierwave_direct does not yet support Carrierwave 1.x, but I have created a PR that fixes this: https://github.com/dwilkie/carrierwave_direct/pull/213. Consider using Carrierwave 0.11.x in the meantime or use my fork.
This has been fixed on master
https://github.com/dwilkie/carrierwave_direct/search?q=white&type=Code&utf8=%E2%9C%93
which led me to
in my app.
quick fix though: add
alias_method :extension_white_list, :extension_whitelist
to your uploader.