search for: old_db

Displaying 1 result from an estimated 1 matches for "old_db".

Did you mean: old_de
2007 Apr 04
4
joining across databases in a find statement with include (legacy db)
...:old_model) will give an error like Mysql::Error: Table ''new_db.old_models'' doesn''t exist: SELECT ... FROM new_models LEFT OUTER JOIN old_models ON ... WHERE ... Obviously a performance hit without the join. MySQL does support joins you specify the database first (ex old_db.old_models). I can hack it by doing the join manually but that doesn''t sound like the rails way. Any ideas? -Andrew Roth --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" grou...