title: An more elegant way to query MongoDB in Ruby?
body: <p>I am fairly new to Ruby and MongoDB in particular. I use Mongo in a Ruby script to store and process thousands of Tweets in a collection. I would love to improve legibility and "rubyness" of the find command here:</p>
  
  <pre><code>require 'rubygems'
  require 'mongo'
  
  db      = Mongo::Connection.new("localhost").db("db")
  coll    = db.collection("tweets")
  
  cursor = coll.find({
     'geo_enabled' =&gt; true,
     'status.text' =&gt; { '$exists' =&gt; true },
     'followers_count' =&gt; {
     '$gte'   =&gt; 10,
     '$lt'    =&gt; 100 }
  })
  
  cursor.each_with_index { |row,idx|
    # do stuff
  }
  </code></pre>
  
  <p>The mongodb query syntax drives me nuts! Is there a more elegant, ruby-like way to do a query?</p>