Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

Jarrett Meyer's latest activity

Friday, February 18 2011
6158 #count on decimal column returns BigDecimal was updated in Ruby on Rails
  • Jarrett Meyer
    Jarrett Meyer commented at 3:05 PM

    Added patch file with just the unit test.

Thursday, February 17 2011
6158 #count on decimal column returns BigDecimal was updated in Ruby on Rails
  • Jarrett Meyer
    Jarrett Meyer commented at 1:43 PM

    It looks like a different patch was applied to fix a similar problem that also fixed this problem - see ticket 6103.

    If I'm reading the git history correctly, ...

Sunday, December 19 2010
6103 average() returns integer values instead of decimals was updated in Ruby on Rails
Monday, December 13 2010
6158 #count on decimal column returns BigDecimal was updated in Ruby on Rails
  • Jarrett Meyer
    • Tag set to patch
    by Jarrett Meyer at 8:57 PM

    Added patch. Contains broken unit test and code to fix it.

  • Jarrett Meyer
    Jarrett Meyer commented at 8:21 PM

    Verified on Ubuntu + sqlite3
    ruby-1.9.2-p0 > c = Person.count(:salary)
    => #<BigDecimal:1a30a38,'0.1E1',9(18)>