I have another resources connected via many-to-many relation - recource A can attach resource B, and recource B can attach recource A. The connection is done by pivot table - A_B, and it works proper.
In my case I started with connections: M - Match, and B - Bet. Many bets for single match, and every bet will belong to one match. This can by handled by: bet belongs to match, and match has many bets. The only connection beetween tables is additional column - match_id - in bets table. And from Match detail view I can create new bet. And I works proper.
But the problem I have got is: I would like to attach bet to MORE THAN ONE MATCH. So, the relation BelongsTo is usless and I have to make via many-to-many and pivot table. And I did it.
But it this case (many-to-many) I'm not able to create new bet from Match detail view. I'm only able to attach existing bet. This is crucial funcionality I need - create bet from Match view.
Bottomline: One unique bet can belong to one or more matches, and needs to be created from Match detail page.