Subject: Association from table1 to table2, 'has_one'
Hello!
I'm trying to create association to my invoice rows model. There's column "project_task_id" in "invoice_has_items" table.
That refers to "project_has_tasks" table "id"-column.
Now I should be able to associate that to my "InvoiceHasItems" model.
I've tried so far:
Subject: Association from table1 to table2, 'has_one'
Hello!
I'm trying to create association to my invoice rows model.
There's column "project_task_id" in "invoice_has_items" table.
That refers to "project_has_tasks" table "id"-column.
Now I should be able to associate that to my "InvoiceHasItems" model.
I've tried so far: