It might be interesting to use Merb's run_later facilities to asynchronously
update the counter cache on a periodic basis (or only if something was added
to a queue).
However, it feels like the BEST option would be to add a standard database
trigger and let the database handle it without the
2009/4/6 kristian meier.krist...@gmail.com:
there is a restful adapter in datamapper4rails. when I last look at
the dm-more/adapter is was not in working state. then I had the choice
between active_resource and datamapper. since datamapper opened the
possibilty to reuse the model classes for
I just had a blast investigating some troublesome DB behavior and
wanted to get it down in writing. This also may affect the way
DataMapper handles transactions, or atleast the way I'm using them.
Yesterday I noticed certain update queries were hanging indefinitely.
Doing a SELECT * FROM