Forum: Ruby on Rails HABTM 1.1 - counter cache?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
429500a5a54600958c9c7ac032a37f66?d=identicon&s=25 Joe (Guest)
on 2006-03-11 08:52
Just wondering - will HABTM (or thru or whatever it's called) in Rails
1.1 have a counter_cache, similar to belongs_to?

Joe
B45eab4f18aa1bb2a44d6e657531a642?d=identicon&s=25 Alain Ravet (aravet)
on 2006-03-20 17:04
> Just wondering - will HABTM (or thru or whatever it's called) in Rails
> 1.1 have a counter_cache, similar to belongs_to?


Does anybody know?
Is there an elegant way, or do we have to do it by hand?

Alain
This topic is locked and can not be replied to.