Is it a known issue that associations defined using :through won't work with eager loading?

Ie., you can't do

  class Post
    has_many :taggings, :as => :taggable
    has_many :tags, :through => :taggings
  end

  posts.tags.find(:all, :include => :cantthinkofagoodexample)

I'm digging into this (appears to be a problem with #construct_finder_sql_with_included_associations), but figured I'd ask first if anyone's aware of the problem.

_______________________________________________
Rails-core mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to