Module: Mongoblazer::ActiveRecord::Carrierwave::ClassMethods

Defined in:
lib/mongoblazer/active_record/carrierwave.rb

Instance Method Summary collapse

Instance Method Details

#mount_uploader(name, klass, options = {}) ⇒ Object



20
21
22
23
# File 'lib/mongoblazer/active_record/carrierwave.rb', line 20

def mount_uploader(name, klass, options={})
  mongoblazer_init uploaders: name
  super
end