rails/rails — pull request #8116 by senny (2012-11-04 16:12:52+00:00)
Title: :counter_cache option for  to support custom named counter caches

This is a fix for #7993. I introduced a `counter_cache` option for `has_many` associations. This option is only necessary, when the name of the counter cache was customized on the `belongs_to` association.

I updated the `CHANGELOG` and provided documentation for the `:counter_cache` option. I'm not sure if the wording is good enough though.