Use cache money only for a single model?

女生的网名这么多〃 提交于 2019-12-05 16:48:04

I think this is a bug in the cache_money code.

There are forks available on github that fix this bug, eg: http://github.com/quake/cache-money

The fix can be seen with this commit:

http://github.com/quake/cache-money/commit/54c3d12789f31f2904d1fe85c102d7dbe5829590

I've just experienced the same problem trying to deploy an application. Running on my development machine it was fine, but it failed with this error on the production machine.

Apart from the architecture (OSX vs CentOS) the only difference i could see was that the ruby versions were different (1.8.6 p114 vs 1.8.6 p0). After upgrading the server to the latest 1.8 version (1.8.7 p160) this error went away.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!