I have a model PlayerScore with unique key as (dt, player_id). I have
create associations between Player model and PlayerScore model to
display
the score on Player screen. Had it been just the score_id as the
foreign_key a simple association with belongs_to and has_one would have
helped. How should I proceed in this case?
I have a model PlayerScore with unique key as (dt, player_id). I have
create associations between Player model and PlayerScore model to display
the score on Player screen. Had it been just the score_id as the foreign_key
a simple association with belongs_to and has_one would have helped. How
should I proceed in this case?
I cannot understand what your question is, please ask again with a bit
more detail.