In my rails app, i want to store a value from the worker into the memcached and read it from the application controller. But in the worker i couldn t store the value as below
cache_store.write( db_status , down )
它说,没有界定的地方变数或方法切合物。
• 如何把我的工人编成餐店。
i) 将海滩仓库安排如下:
config.action_controller.cache_store = :mem_cache_store
在我的环境中,我感到困惑。 我也需要在我的工人中使用同样的储藏库。
增 编