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.

Alex's latest activity

Tuesday, January 04 2011
497 ActiveRecord#calculate broken for multiple fields in :group option was updated in Ruby on Rails
  • Alex
    Alex commented at 5:45 PM

    The usage should be pp SavedForm.count(:group => [ 'agent_id', 'code_dispo']). The reason we do this is to avoid SQL parsing. This is not documented anywhere ye...

Tuesday, November 16 2010
497 ActiveRecord#calculate broken for multiple fields in :group option was updated in Ruby on Rails
  • Alex
    Alex commented at 7:55 PM

    Great news! Thank you.

  • Alex
    Alex commented at 3:19 AM

    Forgot to attach 2-3-stable patch.

  • Alex
    Alex commented at 3:18 AM

    I agree that is better. The only reason it was done that way was because the documentation when this issue was first opened hinted that the correct usage was to...

Saturday, November 13 2010
497 ActiveRecord#calculate broken for multiple fields in :group option was updated in Ruby on Rails
  • Alex
    Alex commented at 10:52 PM

    I updated the patch to work against master branch.

Monday, August 23 2010
497 ActiveRecord#calculate broken for multiple fields in :group option was updated in Ruby on Rails
  • Alex
    Alex commented at 4:39 PM

    Uploading a patch here in case any of you guys want to verify it.

Monday, July 26 2010
5182 ActiveRecord::Calculations returns incorrect data when grouping by multiple f... was updated in Ruby on Rails
  • Alex
    • Tag changed from 2.x to 2.3.x, 2.x, calculations, patch
    by Alex at 7:53 PM
Thursday, July 22 2010
5182 ActiveRecord::Calculations returns incorrect data when grouping by multiple f... was updated in Ruby on Rails
  • Alex
    • Tag set to 2.x
    by Alex at 11:45 PM
497 ActiveRecord#calculate broken for multiple fields in :group option was updated in Ruby on Rails