新手问题 关于创建群组,项目拥有者的问题,哪位大神能给一点思路指导?

buxiangshuo · April 20, 2013 · Last by Yujing_Z replied at April 20, 2013 · 1590 hits

正在试着完成这样的逻辑:

user has_many teams
team has_many users
team has_many projects
projects has_many users

之间的 user_teamshipteam_projectshipuser_projectship 之类的工作都写好了 只是不知道怎样继续进行下去的思路,用的 devisecancan PS:或许我欲速则不达了~

Project has_a :owner

You need to Sign in before reply, if you don't have an account, please Sign up first.