Habtm does not work with multiple tables

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.

to solve that problem in the meanwhile one should define the :join_table
in the habtm association with the full qualifier.

The subject was meant to be “habtm does not work with multiple
databases” of course ;o)

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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs