Sha256: d01a00b1ff21089022ae309bb5345eb9e02982d6639328fa6369a814472de091

Contents?: true

Size: 425 Bytes

Versions: 3

Compression:

Stored size: 425 Bytes

Contents

require 'carrierwave'
require 'carrierwave/validations/active_model'

require 'mongo_mapper_ext/mongo_mapper'

%w(
  fixes
  micelaneous
  mongo_mapper/plugins/mount_uploader
  mongo_mapper/plugins/mount_uploaders
).each{|f| require "mongo_mapper_ext/carrier_wave/#{f}"}

MongoMapper::Document.send :include, MongoMapper::Plugins::MountUploader
MongoMapper::EmbeddedDocument.send :include, MongoMapper::Plugins::MountUploader

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mongo_mapper_ext-0.2.7 lib/mongo_mapper_ext/carrier_wave.rb
mongo_mapper_ext-0.2.6 lib/mongo_mapper_ext/carrier_wave.rb
mongo_mapper_ext-0.2.5 lib/mongo_mapper_ext/carrier_wave.rb