1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/cases/connection_adapters
Sean Griffin d730e374ca Deprecate automatic counter caches on has_many :through
Reliant on https://github.com/rails/rails/pull/15747 but pulled to a
separate PR to reduce noise. `has_many :through` associations have the
undocumented behavior of automatically detecting counter caches.
However, the way in which it does so is inconsistent with counter caches
everywhere else, and doesn't actually work consistently.

As with normal `has_many` associations, the user should specify the
counter cache on the `belongs_to`, if they'd like it updated.
2014-06-26 07:24:34 -06:00
..
adapter_leasing_test.rb
connection_handler_test.rb
connection_specification_test.rb
merge_and_resolve_default_url_config_test.rb Parsing DATABASE_URI, use URI#hostname: it's smarter about IPv6 2014-06-14 15:09:37 +09:30
mysql_type_lookup_test.rb
quoting_test.rb
schema_cache_test.rb Deprecate automatic counter caches on has_many :through 2014-06-26 07:24:34 -06:00
type_lookup_test.rb