Skip to content
This repository has been archived by the owner on Feb 4, 2019. It is now read-only.

Rack middleware for resetting state between requests #1

Open
motns opened this issue Mar 4, 2013 · 0 comments
Open

Rack middleware for resetting state between requests #1

motns opened this issue Mar 4, 2013 · 0 comments

Comments

@motns
Copy link
Owner

motns commented Mar 4, 2013

MongoId has a nice UnitOfWork class, wrapping the whole request in a block that they yield to. It's used to reset the IdentityMap (local cache).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant