fxposter
Not a member
fxposter's latest activity
Sunday, May 01 2011
-
fxposter commented at 10:20 AMIt seems like rails edge doesn't have this problem - everything works fine.
Friday, April 22 2011
Wednesday, March 02 2011
6476
[PATCH] Eager loading don't work properly on nested includes
was updated
in Ruby on Rails
-
- Title changed from Eager loading don't work properly on nested includes to [PATCH] Eager loading don't work properly on nested includes
Sunday, February 27 2011
6476
Eager loading don't work properly on nested includes
was updated
in Ruby on Rails
-
- Tag changed from eager_loading to bug, eager_loading, patch
- Assigned user set to Aaron Patterson
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 commented at 4:33 AMNo, 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 commented at 4:16 AMIt seems that removing ".uniq" ActiveRecord::AssociationPreload::ClassMethods#preload_associations and adding "records = Array.wrap(records).compact.uniq" to Ac...
-
fxposter created the ticket at 3:43 AMIf 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...