阅读背景:

如何从控制器操作中向Rails动态添加后置过滤器?

来源:互联网 

Each time a user accesses a page in my Rails app, the database needs to send them a Thingy. When the database runs out of Thingies, it has to do some expensive processing to generate more. I want to add a controller filter dynamically to generate the thingies Each time a user accesses a page in my Rails ap




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

分享到: