From: Lloyd Linklater Date: 2007-05-15T02:47:04+09:00 Subject: Re: Rails: Counter problem At the risk of sounding simplistic, wouldn't it be class Forum < ActiveRecord::Base has_many :topics end class Topic < ActiveRecord::Base has_many :posts belongs_to :forum, :counter_cache => true end class Post < ActiveRecord::Base belongs_to :topic, :counter_cache => true end -- Posted via http://www.ruby-forum.com/.