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.

fxposter's latest activity

Sunday, May 01 2011
6476 [PATCH] Eager loading don't work properly on nested includes was updated in Ruby on Rails
  • fxposter
    fxposter commented at 10:20 AM

    It seems like rails edge doesn't have this problem - everything works fine.

Friday, April 22 2011
6476 [PATCH] Eager loading don't work properly on nested includes was updated in Ruby on Rails
  • fxposter
    fxposter commented at 9:54 PM

    Thanks. I'll try to test master branch a bit later.

Wednesday, March 02 2011
6476 [PATCH] Eager loading don't work properly on nested includes was updated in Ruby on Rails
  • fxposter
    • Title changed from Eager loading don't work properly on nested includes to [PATCH] Eager loading don't work properly on nested includes
    by fxposter at 9:06 AM
Sunday, February 27 2011
6476 Eager loading don't work properly on nested includes was updated in Ruby on Rails
  • fxposter
    • Tag changed from eager_loading to bug, eager_loading, patch
    • Assigned user set to Aaron Patterson
    by fxposter at 9:41 PM

    Added patch with fix and test case (I'm not sure if my fix is 100% right, but it works + doesn't break any tests).

  • fxposter
    fxposter commented at 4:33 AM

    No, I was wrong. It doesn't fix the problem.

      def test_including_duplicate_objects_from_has_many
        post = Post.create!(:title => 'foo', :body => "I like car...
  • fxposter
    fxposter commented at 4:16 AM

    It seems that removing ".uniq" ActiveRecord::AssociationPreload::ClassMethods#preload_associations and adding "records = Array.wrap(records).compact.uniq" to Ac...

  • fxposter
    fxposter created the ticket at 3:43 AM

    If we have a following models:

    class Article < ActiveRecord::Base
      has_and_belongs_to_many :tags
    end
    
    class Tag < ActiveRecord::Base
      has_and_belongs_to_many...