== README DataMapper::CounterCacheable automates the dec/incrementing of association counter fields. This is similar to counter caches in ActiveRecord. Example: class Post include DataMapper::Resource has n :comments property :id, Integer, :serial => true property :comments_count, Integer, :default => 0 end class Comment include DataMapper::Resource include DataMapper::CounterCacheable belongs_to :post, :counter_cache => true end
Project
dm-counter-cache
DataMapper plugin for for counter caches ala ActiveRecord
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Development
Project Readme