Lets say i have two models: Team --1---n--> Player In Words: A Team can have many Players. A Player belongs to a Team.
On the page that shows the Team-Data i want to place a link create Player .
在运动员控制员中,我如何创建运动员,使其与监察组有关系,在什么地方把创造者的联系放在谁?
我必须
1.通过监察组-ID,创建运动员控制员和
<>strong>2.上调监察组,利用监察组-ID,然后看小组。
3. something like this: @new_player = @team.players.build(...)
Can I use one of the resource routes for the create Player link?