This project is archived and is in readonly mode.

#3099 ✓ invalid
Jamie Rumbelow

ActiveRecord::ObjectMap - Identity Map for AR

Reported by Jamie Rumbelow | August 26th, 2009 @ 05:21 PM

I've created an Identity Map implementation for ActiveRecord. It's pretty basic right now, it's essentially a cache, but it works pretty well. I've written documentation for it too, and added some options to the find methods (:fresh, :be_fresh and :stay_fresh) to make requests be pulled straight from the database, not be cached, or both, respectively.

It's up in my Rails GitHub Fork under the object_map branch, so please check it out and let me know what you think:

[url=http://github.com/jamierumbelow/rails/tree/object_map]http://github...]

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Tickets have moved to Github

The new ticket tracker is available at https://github.com/rails/rails/issues

Shared Ticket Bins

Pages