Greg Weber
Not a member
Greg Weber's latest activity
Wednesday, May 13 2009
2328
named_scope sum should delegate to Enumerable
was updated
in Ruby on Rails
-
Greg Weber commented at 7:14 AMI have the same implementation now for Enumerable#count. The main problem with the idea behind this ticket would be if someone extended ActiveRecord sum or coun...
Tuesday, March 24 2009
2328
named_scope sum should delegate to Enumerable
was created
in Ruby on Rails
-
Greg Weber created the ticket at 3:32 PMThe sum method in named_scope assumes ActiveRecord sum. There may be other enumerable conflicts.
I am currently using the following implementation for sum
# ...