阅读背景:

从模型访问current_user最优雅的方式是什么?或者为什么这是个坏主意?

来源:互联网 

So, I've implemented some permissions between my users and the objects the users modify.. and I would like to lessen the coupling between the views/controllers with the models (calling said permissions). To do that, I had an idea: Implementing some of the permission functionality in the So, I've implemented some permissions between m




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: