Quantcast
Channel: Active questions tagged redis+ruby-on-rails - Stack Overflow
Viewing all articles
Browse latest Browse all 873

Redis backed Rails model

$
0
0

I am looking for something where I can keep an entire Rails based Model stored in Redis. There is Redis Objects that is found here https://github.com/nateware/redis-objects but that only works when your model is already backed by something like ActiveRecord and it requires a unique id generator. I don't wish to make an ActiveRecord backed model, as I want to persist everything directly into memory and not into the database.

Is there a drop in tool that I can use right now that'll let me do things like:

RedisBackedModel.find_by_name('foo')

and it'll retrieve me the RedisBackedModel from Redis?


Viewing all articles
Browse latest Browse all 873

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>