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.

Rich Bradley's latest activity

Monday, August 10 2009
260 ActiveRecord: nested "include" hints fail if record classes are in modules was updated in Ruby on Rails
Monday, August 03 2009
260 ActiveRecord: nested "include" hints fail if record classes are in modules was updated in Ruby on Rails
  • Rich Bradley
    Rich Bradley commented at 5:04 PM

    This bug is still present, one year after I submitted a patch with unit tests :-(

    It probably crops up in other places -- have a search for ".class_name.constan...

Monday, July 28 2008
260 ActiveRecord: nested "include" hints fail if record classes are in modules was updated in Ruby on Rails
  • Rich Bradley
    Rich Bradley commented at 5:26 PM

    How do I mark the ticket as no longer stale?

  • Rich Bradley
    Rich Bradley commented at 5:24 PM

    Here's a patch, which fixes the issue, and adds a new unit test to demonstrate the problem.

    This bug is harder to reproduce on HEAD than on 2.0.2, because it ...

Tuesday, May 27 2008
260 ActiveRecord: nested "include" hints fail if record classes are in modules was created in Ruby on Rails
  • Rich Bradley
    Rich Bradley created the ticket at 12:17 PM

    ActiveRecord 2.0.2 can't load records whose classes are in modules when using nested "include"s.

    e.g.

    @edition = Edition.find_by_id(edition_id, {:include => ...