aws-s3
aws-s3 copied to clipboard
mybucket['file_name'] returns nil while S3Object.find('file_name', 'bucket_name') returns the file
trafficstars
This bug is not happening consistently. When I put this gem under a capacity test of 100 requests/hour. This bug will happen around 5% of times.
I have a file on S3 and I am sure it is there and valid. If I do mybucket['file_name'] I get nil. But for the same file if I do S3Object.find('file_name', 'bucket_name') it returns the file.
The documentation on http://amazon.rubyforge.org/ gave me the impression that these I can use these two methods the same and expect the same.