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.

hsume2 (Henry)'s latest activity

Sunday, July 18 2010
3108 Eager loading uniq habtm association is broken was updated in Ruby on Rails
Saturday, July 17 2010
3108 Eager loading uniq habtm association is broken was updated in Ruby on Rails
  • hsume2 (Henry)
    hsume2 (Henry) commented at 7:29 PM

    I've attached reworked patches for master and 2-3-stable. The implementation is slightly different than previously specified. Instead of

    associated_records.uni...
Monday, September 28 2009
3108 Eager loading uniq habtm association is broken was updated in Ruby on Rails
  • hsume2 (Henry)
    • Tag changed from 2.3.3, activerecord, bugmash to 2.3.3, activerecord, bugmash, bugmash-review
    by hsume2 (Henry) at 10:25 AM
Sunday, September 27 2009
3005 :counter_cache not updated if polymorphic => true when assigning association was updated in Ruby on Rails
  • hsume2 (Henry)
    hsume2 (Henry) commented at 6:38 PM

    1. There is not test that checks counter_cache changes with the append (<<) operand on has_many relation.

    I agree, counter_cache updating is unbalanced, espe...

1828 ActiveResource breaks when encounters <object> tag in XML was updated in Ruby on Rails
  • hsume2 (Henry)
    hsume2 (Henry) commented at 4:49 PM

    +1 for reserved words list, especially for the case of nested, existing resources, since we wouldn't want anyone doing:

    class Object < ActiveResource::Base
    end...
  • hsume2 (Henry)
    hsume2 (Henry) commented at 3:59 PM

    sorry, changed address to object

  • hsume2 (Henry)
    hsume2 (Henry) commented at 3:54 PM

    verified on master and 2-3-stable

    I've attached a patch; failing test for master (cherry picks into 2-3-stable) as well a patch for 2-3-stable.

2114 ActiveSupport lacks beginning_of_hour was updated in Ruby on Rails
  • hsume2 (Henry)
    hsume2 (Henry) commented at 3:13 PM

    +1, verified both patches apply successfully