Ask for Help
“Does anyone have experience with memcache mock?”
Some team members are experimenting with this, and were looking to connect with people who have experience with this.
Interesting Things
- Paperclip gotcha. Paperclip expects 3 columns. And if you don’t do this database migration, it will just silently fail.
Not sure if it’s exactly what you mean, but we use a fake version of memcache for our cucumber tests. See the weplay fork of cache-money for the implementation. Hit me up at luke at lukemelia.com if I can help.
August 19, 2009 at 8:33 pm
Chris Heisterkamp and I wrote a memecache fake that worked well enough for simple use cases. I think Nick Kallen ended up putting a version of it into cache-money: http://github.com/nkallen/cache-money/blob/fc4fb74a50eab3f1682b54b0ab07d314db9fd4d6/lib/cash/mock.rb
August 19, 2009 at 9:43 pm
we are using this atm: http://gist.github.com/170853
its a bit hacky but worked good so far ;)
August 19, 2009 at 10:22 pm
I heard Cache Money isn’t done. Is that true?
August 19, 2009 at 10:45 pm
@Steve: Depends on what you mean by done. We’re using it in production. It does have some rough edges, though.
August 20, 2009 at 6:20 am