which should be the following to be in sync with the model.
mainColName = assnName + assnModelName + 'Id';
I hope this helps track this down and if I am incorrect, or using the named associations/postgres adapter incorrectly, please let me know. Thanks for all the great work!
given the following named association:
it seems that the model expects the following foreign key in the database: "author_user_id" however, the adapter is looking for "book_author_id."
It looks like the bug comes from
base.js:245
mainColName = mainName + assnName + 'Id';
which should be the following to be in sync with the model.
mainColName = assnName + assnModelName + 'Id';
I hope this helps track this down and if I am incorrect, or using the named associations/postgres adapter incorrectly, please let me know. Thanks for all the great work!