title: getting more than 1000 object from s3 bucket on rails application
body: <p>I have to write a rails task for getting files from s3 bucket but my bucket have more than 1000 object.</p>
  
  <pre><code>.
  #Connection codes and configures
  .
  bucket = AWS::S3::Bucket.find('my_bucket')
  puts bucket.size
  # =&gt; 1000
  </code></pre>
  
  <p>this code just give me 1000 objects :( <br>
  how can i get my all objects from s3 bucket ?</p>