Jarrett Meyer
Not a member
Jarrett Meyer's latest activity
Friday, February 18 2011
6158
#count on decimal column returns BigDecimal
was updated
in Ruby on Rails
Thursday, February 17 2011
6158
#count on decimal column returns BigDecimal
was updated
in Ruby on Rails
-
Jarrett Meyer commented at 1:43 PMIt 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
-
Jarrett Meyer commented at 10:18 PMIn ticket 6158 ( https://rails.lighthouseapp.com/projects/8994/tickets/6158-count-on... ), performing a COUNT() operation on a decimal column is returning a de...
Monday, December 13 2010
6158
#count on decimal column returns BigDecimal
was updated
in Ruby on Rails
-
- Tag set to patch
Added patch. Contains broken unit test and code to fix it.
-
Jarrett Meyer commented at 8:21 PMVerified on Ubuntu + sqlite3
ruby-1.9.2-p0 > c = Person.count(:salary)
=> #<BigDecimal:1a30a38,'0.1E1',9(18)>