as i''ve read somewhere. this could be fixed easily. all the rails devs ( or whoever is responsible for the query building and executing part) have to do is to use the full qualifier in the sql statements (e. g. DB_Name.Tablename.Row). to solve that problem in the meanwhile one should define the :join_table in the habtm association with the full qualifier. -- Posted via http://www.ruby-forum.com/.
The subject was meant to be "habtm does not work with multiple databases" of course ;o) -- Posted via http://www.ruby-forum.com/.
One thing though. as it seems the join_table doesn''t get one of the needed two id''s for some reason, by creation. however, it does work correct on edit action. it might be related to the fact that the object -- of which the id is missing -- is although defined as belongs_to ..., :polymorphic => true. -- Posted via http://www.ruby-forum.com/.