arthurnn / memcached

A Ruby interface to the libmemcached C client
Academic Free License v3.0
432 stars 127 forks source link

unclear about memcached::rails version compatibility and use with session_store #16

Closed schubert closed 14 years ago

schubert commented 14 years ago

Running Rails 2.3.4 and our team ran into issues trying use Memcached::Rails. It looks like it was working with cache_store but not with session_store.

Could you document 2 things in the readme:

  1. What version of rails is Memcached::Rails compatible with? 2.3.5 only? any 2.3.x? etc.
  2. Could you provide an example of using it with both cache_store and session_store? It takes a few minutes of digging around to even find good examples on using it with cache_store since there aren't any examples in your RDocs that I saw for this.

Thank you.

ghost commented 14 years ago

I don't use those versions of rails... maybe you can figure it out and send me a pull request with a documentation update?

Actually, I hardly use Rails at all directly, so most of the compatibility wrapper stuff comes from contributors.