I figured it out. I need to belongs_to :owner
. The first argument is the field name, not the name of the db table.
Embarrassed that this took me a few hours of searching and experimenting. This link helped me.
I figured it out. I need to belongs_to :owner
. The first argument is the field name, not the name of the db table.
Embarrassed that this took me a few hours of searching and experimenting. This link helped me.