title: How do you store a string in MongoDB as a Date type using Ruby?
body: <p>I have a string that I'm parsing out from log files that looks like the following:</p>
  
  <p>"[22/May/2011:23:02:21 +0000]"</p>
  
  <p>What's the best way (examples in Ruby would be most appreciated, as I'm using the Mongo Ruby driver) to get that stashed into MongoDB as a native Date type?</p>