When you use the default settings "dragonfly / rails / images", it sets Dragonfly [: images] as the application name. See the Dragonfly documentation for how you configure it inside config / initializers / dragonfly.rb. You can do something like this:
require 'dragonfly'
app = Dragonfly[:app_name]
app.configure_with(:imagemagick)
app.configure_with(:rails)
source
share