```
select * from Foo where id = 200

```

How to cache finding object by id, since we observe a select call being made all the time on a certain id. How should we enable this in rails in a non obtrusive fashion, so that we can switch between any cache store in the future (say memcached or redis)

EDIT:

Much similar to Hibernate based caching strategy `org.hibernate.annotations.CacheConcurrencyStrategy.READ_WRITE` which is applied on all Entity classes in Java EE.