Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在编写一个引擎,我希望它与设计很好地集成,但不一定依赖它。具体来说,我希望能够引用 current_MODEL(默认值:current_user)。我可以在引擎控制器中使用通用方法吗?
看起来 Ryan Bigg 已经回答了我的问题!
http://ryanbigg.com/2012/03/engines-and-authentication/