06 May, 2013

4 commits


08 Apr, 2013

1 commit


13 Mar, 2013

1 commit


12 Mar, 2013

3 commits


10 Mar, 2013

1 commit

  • Mongoid defines it's own ==() and eql?() methods that are based on the
    ObjectId. Comparable provides it's own ==() function that uses `<=>`
    under the hood.  == is used when inserting into a Hash, App docuemnts
    are put in hashes hundreds of times per request. We don't was to to call
    <=> hundreds of time.
    
    Putting the Comparable mixin at the top allows the mongoid mixin to
    override == with it's faster implementation.
    Daniel Beardsley
     

08 Mar, 2013

1 commit


07 Mar, 2013

1 commit


06 Mar, 2013

3 commits


05 Mar, 2013

8 commits


04 Mar, 2013

1 commit


14 Feb, 2013

2 commits


12 Feb, 2013

5 commits


08 Feb, 2013

1 commit


06 Feb, 2013

2 commits


31 Jan, 2013

2 commits


28 Jan, 2013

4 commits