Skip to content

rahul-ranchal/example-mongoid-gridfs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Very basic example of using MongoDB GridFS as a file store in Rails

This example uses mongoid and carrierwave.

Installation and running

bundle && rails s

TODO:

At some file size (around 50mb) the app is able to store files but not retrieve them due to the following:

assertion 10128 too much data for sort() with no index.  add an index or specify a smaller limit

About

Very basic example of using MongoDB GridFS as a file store

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 80.3%
  • HTML 10.6%
  • CSS 6.1%
  • JavaScript 2.2%
  • CoffeeScript 0.8%