In the mongo shell I see the actual length of my file in GridFS, however in the mongo ruby driver I get a length of 1 for the same file.
mongo shell:
`db.fs.files.find({_id: ObjectId("57898fa2b5e1b565d4b9b5c8")})
`
mongo ruby driver:
code- `myid = BSON::ObjectId.from_string("57898fa2b5e1b565d4b9b5c8")
result = fs_bucket.find_one(_id: myid).to_json
obj = JSON.parse(result)
puts obj['info']`
output- `{"document"=>{"_id"=>
, "chunkSize"=>261120, "uploadDate"=>"2016-07-17T21:51:28.897Z", "contentType"=>"binary/octet-stream", "length"=>1, "md5"=>"023bf136d694f8071623fb4c67e159b8"}, "client_md5"=>{}}`