Hi, I have an app using Rails 2.3.2 that chains together multiple scopes with joins and conditions on different tables. When I add :include to the finders that use these scopes, I get an Mysql::Error saying Not unique table/alias for the table that I'm including, and joining on in scopes.
The join strings are exactly the same, but the same left outer join is repeated in the SQL. I thought them being string identical would prevent that from happening? Is this a known problem with any workarounds? At the moment I just skip the eager loading, which is hurting performance. Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

