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.

Grant Hutchins's latest activity

Monday, April 18 2011
6715 ActiveRecord::Observer.observed_classes doesn't get redefined properly was created in Ruby on Rails
  • Grant Hutchins
    Grant Hutchins created the ticket at 7:20 PM
    
    class Foo < ActiveRecord::Base
    end
    
    class BarObserver < ActiveRecord::Observer
      observe :foo
    end
    
    ruby-1.8.7-p174 > BarObserver.observed_classes
    NameError: u...
Thursday, December 03 2009
2383 SqlBypass session store doesn't use ActiveRecord::Base connection was updated in Ruby on Rails
  • Grant Hutchins
    Grant Hutchins commented at 5:43 PM

    I'm using Rails 2.3.5 (and was on 2.3.4 when I wrote the previous comment).

    I think I've figured out what's going on. The patch you mentioned fixes the issue fo...

Wednesday, November 25 2009
2383 SqlBypass session store doesn't use ActiveRecord::Base connection was updated in Ruby on Rails
  • Grant Hutchins
    • Tag cleared.
    • Assigned user set to Michael Koziarski
    by Grant Hutchins at 12:21 AM

    Excuse me if I'm wrong, but was it a mistake to mark this ticket resolved?

    I am still seeing the issue that the original reporter describes, and it has been imp...

Friday, September 11 2009
3181 [PATCH] ActiveSupport::Multibyte.clean is very slow was updated in Ruby on Rails
  • Grant Hutchins
    • Assigned user set to Michael Koziarski
    by Grant Hutchins at 12:04 AM
Thursday, September 10 2009
3181 [PATCH] ActiveSupport::Multibyte.clean is very slow was updated in Ruby on Rails
  • Grant Hutchins
    Grant Hutchins commented at 11:56 PM

    We ran into the same CPU usage spikes when we applied 2-2-CVE-2009-3009.patch to our Rails 2.2.2 gems.

    Our production servers essentially became unusable and we...

Wednesday, September 09 2009
3168 A better way to avoid timing attacks on the message verifier was updated in Ruby on Rails
  • Grant Hutchins
    Grant Hutchins commented at 12:31 AM

    I disagree. Adding noise to the signal just means that any timing attacks would just need to take a larger sample size to get to the same result.

    I'm not saying...

Wednesday, June 10 2009
2607 Sent_on should default to now was updated in Ruby on Rails
  • Grant Hutchins
    Grant Hutchins commented at 10:35 PM

    Perhaps using nil for sent_on should give the original behavior.