diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-06-26 10:27:13 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-06-26 10:27:13 -0300 |
commit | 031588ebe6b449bcba6e3becfaff6978ba10464a (patch) | |
tree | 179a789fd65ddc4c157f6bb088002a465755e6a8 /guides | |
parent | e8003c7274c4049f409740b587e4e9e1f3df37f7 (diff) | |
parent | d730e374ca99a60b08c75aab7b0ed8a846a34924 (diff) | |
download | rails-031588ebe6b449bcba6e3becfaff6978ba10464a.tar.gz rails-031588ebe6b449bcba6e3becfaff6978ba10464a.tar.bz2 rails-031588ebe6b449bcba6e3becfaff6978ba10464a.zip |
Merge pull request #15754 from sgrif/sg-deprecate-hmt-counter-cache
Deprecate automatic counter caches on has_many :through
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/4_2_release_notes.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/guides/source/4_2_release_notes.md b/guides/source/4_2_release_notes.md index 6a847c3087..dd484ccee2 100644 --- a/guides/source/4_2_release_notes.md +++ b/guides/source/4_2_release_notes.md @@ -201,6 +201,12 @@ for detailed changes. ([Commit](https://github.com/rails/rails/commit/91949e48cf41af9f3e4ffba3e5eecf9b0a08bfc3)) +* Deprecated broken support for automatic detection of counter caches on + `has_many :through` associations. You should instead manually specify the + counter cache on the `has_many` and `belongs_to` associations for the through + records. + ([Pull Request](https://github.com/rails/rails/pull/15754)) + ### Notable changes * Added support for `#pretty_print` in `ActiveRecord::Base` objects. |