Skip to content

ghostganz/serve-gridfs-image-middleware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a Gem packaging of Antek Piechnik's code for serving images from GridFS. Originally found here:
http://antekpiechnik.com/posts/setting-up-carrierwave-file-uploads-using-gridfs-on-rails-3-and-mongoid

Add this in config/application.rb:

  config.middleware.use "ServeGridfsImage"

About

Rack middleware for serving images from GridFS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages