I think my issue was solved by the simple example here:
What I was trying to do with partials is that I have an “items” and
“itemdetails” tables, and “items” “has_many” “itemdetails”, and wanted
the “itemdetails” to be AT THE SAME page of the “item”, since for each
item, there are different “itemdetails”.
And, my issue was solved when I inserted a column in “itemdetails”,
namley, “item” and gave it the type “references” as follows:
I think it acts like a foreign key, and is the same as saying:
in ordinary Rails, doesn’t it?