I have this very strange issue I cannot explain:
drivers has the
belongsTo association to the table
transport_companies connected by the field
drivers.transport_company_id. Usually in the
add mode for the table
drivers CakePHP generates a nice drop-down with the content of the
The drop-drown shows only the ids instead of the content of the
name field as long the table has the word
companies in it. When I rename the table to
transport_units or something else then the drop-down field is populated correctly. I do NOT change anything, I only bake all models each time I rename the table.
Is there any CakePHP restriction regarding the word
companies in a tablename because the drop-down isn’t populated correctly?