lib/carrierwave/storage/grid_fs.rb in carrierwave-mongoid-0.4.0 vs lib/carrierwave/storage/grid_fs.rb in carrierwave-mongoid-0.5.0
- old
+ new
@@ -73,11 +73,11 @@
self.grid = ::Mongoid::GridFS
def grid
self.class.grid
end
- end
+ end # File
##
# Store the file in MongoDB's GridFS GridStore
#
# === Parameters
@@ -107,8 +107,8 @@
#
def retrieve!(identifier)
CarrierWave::Storage::GridFS::File.new(uploader, uploader.store_path(identifier))
end
- end # File
+ end # GridFS
end # Storage
end # CarrierWave