<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -82,7 +82,7 @@ module Mongo
     def index obj
       obj = { obj =&gt; true } if obj.is_a? Symbol
 
-      indexes.insert({ :name =&gt; 'num',
+      indexes.insert({ :name =&gt; obj.keys.map{|o| o.to_s }.sort.join('_'),
                        :ns =&gt; @ns,
                        :key =&gt; obj }, false)
     end</diff>
      <filename>lib/mongo/collection.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ac2003e4a7ee917568fd3636220b233d5b78ed57</id>
    </parent>
  </parents>
  <author>
    <name>Aman Gupta</name>
    <email>aman@tmm1.net</email>
  </author>
  <url>http://github.com/tmm1/rmongo/commit/0f9b99b03dc90dab45768e27613c6cf89f71e03b</url>
  <id>0f9b99b03dc90dab45768e27613c6cf89f71e03b</id>
  <committed-date>2008-08-24T22:41:29-07:00</committed-date>
  <authored-date>2008-08-24T22:41:29-07:00</authored-date>
  <message>name indexes</message>
  <tree>785ff1ff8924c6eec7ff27a86c24976c2cd26c43</tree>
  <committer>
    <name>Aman Gupta</name>
    <email>aman@tmm1.net</email>
  </committer>
</commit>
