On 1/25/06, Michael Schoen <[EMAIL PROTECTED]> wrote: > David Heinemeier Hansson wrote: > >> Is it a known issue that associations defined using :through won't work > >> with eager loading? > > > > Yes. Please do work on extending it to be possible, though. At the > > very least, though, we should bork with an arguments invalid error if > > you supply both keys unless we get this implemented. > > Patch submitted, needs to be tested in other dbs (passes for Oracle)... > > http://dev.rubyonrails.org/ticket/3611
Tests pass for me using PostgreSQL-pr on Win32: E:\Projects\rails_trunk\activerecord>ruby -Ilib;test;test/connections/native_pos tgresql .\test\associations_go_eager_test.rb Using native PostgreSQL Loaded suite ./test/associations_go_eager_test Started ................................... Finished in 1.391 seconds. 35 tests, 79 assertions, 0 failures, 0 errors I still can't run the full ActiveRecord suite on Win32 without a number of errors, but that's been going on for a while, and didn't change with your patch. _______________________________________________ Rails-core mailing list [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-core
