12 Mar, 2013

1 commit


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
     

05 Mar, 2013

1 commit


12 Feb, 2013

1 commit


12 Dec, 2012

1 commit


30 Oct, 2012

1 commit


29 Oct, 2012

4 commits


28 Oct, 2012

2 commits


03 Oct, 2012

1 commit


19 Sep, 2012

2 commits


11 Sep, 2012

1 commit


26 Aug, 2012

1 commit


24 Aug, 2012

1 commit


10 Aug, 2012

1 commit


07 Aug, 2012

2 commits


06 Jun, 2012

1 commit


03 Jun, 2012

1 commit


30 May, 2012

1 commit


09 May, 2012

1 commit


06 Jan, 2012

1 commit


20 Dec, 2011

1 commit


28 Sep, 2011

1 commit


26 Sep, 2011

2 commits


11 Sep, 2011

1 commit


09 Sep, 2011

2 commits


05 Sep, 2011

2 commits


03 Sep, 2011

1 commit


27 Aug, 2011

2 commits


13 Aug, 2011

1 commit


12 Aug, 2011

1 commit