Error in ActiveRecord::Associations::AliasTracker when using subquery

Can you open up a github issue for this? Also include the active record code that was used to generate the error, please try with Active Record 3.2.9 to make sure the bug hasn’t been fixed there already. Please re-write any custom active record methods such as tagged_with with the plain old active record, to clearly demonstrate how to reproduce the error with only active record.

Github issues is the best place for bug reports.

Ok, will do. Just wanted to check first if this really looks like a error in AR…