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.

Mike Grafton's latest activity

Sunday, December 06 2009
2334 Hash.from_xml fieldnames uncamelizing was updated in Ruby on Rails
3377 Hash#from_xml converted camelCase to underscore in 2.3.2, doesn't in 2.3.4 was updated in Ruby on Rails
  • Mike Grafton
    Mike Grafton commented at 6:11 PM

    I agree that it's a mess. I was depending on the de-camelization (i.e. underscoring) as I have a controller that accepts XML in the POST. It was nice (though su...

Monday, December 08 2008
1527 For ActiveRecord models there should be a way to avoid calling memoized metho... was updated in Ruby on Rails
  • Mike Grafton
    Mike Grafton commented at 1:54 PM

    Cool, thanks.

    I actually think it might be better to throw an error if you called an un-primed memoized method after freeze. Especially if it blew up in an obvi...

  • Mike Grafton
    Mike Grafton created the ticket at 3:09 AM

    When you call #destroy on an AR model, it calls #freeze. The ActiveSupport::Memoizable mixin, however, alias_method_chains freeze to add a call to #memoize_all....