cirandas.net

ref: master

config/initializers/attachment_fu.rb


1
2
3
4
5
6
7
8
# WORKAROUND: attachment fu needs Rails application
require 'technoweenie/attachment_fu'
require 'monkey_patches/attachment_fu_validates_attachment/init'
require 'monkey_patches/attachment_fu/init'

Technoweenie::AttachmentFu.mattr_writer :default_processors
Technoweenie::AttachmentFu.default_processors = %w(Rmagick ImageScience MiniMagick Gd2 CoreImage)