nkallen / cache-money

A Write-Through Cacheing Library for ActiveRecord
Apache License 2.0
994 stars 107 forks source link

Key too long error with too long queries (with workaround) #23

Open tinco opened 14 years ago

tinco commented 14 years ago

I encountered the error: key too long when using cache-money in combination with memcached. I used the following quick fix:

http://gist.github.com/367830

betamatt commented 14 years ago

I believe there's already an option to md5 long keys.