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.

Eric's latest activity

Saturday, March 05 2011
120 [PATCH] ActiveRecord calculations only accept one grouping field was updated in Ruby on Rails
Tuesday, June 29 2010
3299 HashWithIndifferentAccess#merge should accept block just like Hash#merge was updated in Ruby on Rails
  • Eric
    • Importance changed from to
    by Eric at 5:05 AM

    Is this going to be merged?

Saturday, February 21 2009
1152 Support for nested has_many :through associations was updated in Ruby on Rails
  • Eric
    Eric commented at 7:16 AM

    Is someone working to turn the plugin into a patch?

120 [PATCH] ActiveRecord calculations only accept one grouping field was updated in Ruby on Rails
  • Eric
    Eric commented at 6:31 AM

    Is there a way to un-mark this as invalid?

Tuesday, February 03 2009
1853 Add ability to get multiple memcached keys at the same time. was updated in Ruby on Rails
  • Eric
    • Tag changed from 2.3, patch to 2.3, cache, memcache, mem_cache_store, patch
    by Eric at 1:12 AM

    +1 Looks good.

    What happens if you request a key that doesn't exist as part of the list?

    @cache.read_multi('foo', 'bar', 'baz')

Wednesday, May 21 2008
120 [PATCH] ActiveRecord calculations only accept one grouping field was updated in Ruby on Rails
  • Eric
    Eric commented at 1:56 AM

    I just noticed there was a needless change of how the elements were being added to the ActiveSupport::OrderedHash.

  • Eric
    • Title changed from ActiveRecord calculations only accept one grouping field to [PATCH] ActiveRecord calculations only accept one grouping field
    by Eric at 1:43 AM

    This updated patch causes keys that were grouped by to be part of a single array. So, for instance, the call:

      c = Account.count(1, :group => [:credit_limit,...
Tuesday, May 20 2008
120 ActiveRecord calculations only accept one grouping field was updated in Ruby on Rails
  • Eric
    Eric commented at 11:50 PM

    I just noticed, it looks like ActiveRecord already has support for :having.

    http://github.com/rails/rails/se...

    Is this not what you need?

  • Eric
    Eric commented at 11:28 PM

    So you're mostly looking for someone to add :having to find?

    I found that the way the results were returned (in nested arrays) for the keys that were grouped ...

Tuesday, May 06 2008
120 [PATCH] ActiveRecord calculations only accept one grouping field was created in Ruby on Rails
  • Eric
    Eric created the ticket at 1:25 AM

    This is a patch from trac: http://dev.rubyonrails.org/ticke...

    It allows for multiple columns to used in calculation groups.

    The patch didn't work with the l...