Module: Paperclip::ClassMethods

Defined in:
lib/paperclip-defaults.rb

Instance Method Summary collapse

Instance Method Details

#has_attached_file_with_defaults(name, options = {}) ⇒ Object Also known as: has_attached_file



14
15
16
17
# File 'lib/paperclip-defaults.rb', line 14

def has_attached_file_with_defaults(name, options = {})
  paperclip_options = ::Rails.application.config.paperclip_defaults.merge(options)
  has_attached_file_without_defaults(name, paperclip_options)
end