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 Rearrange deck chairs on the titanic. Organize connection handling test cases. 2014-04-21 15:54:28 -05:00
connection_handler_test.rb Rearrange deck chairs on the titanic. Organize connection handling test cases. 2014-04-21 15:54:28 -05:00
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 Delegate Column#type to the injected type object 2014-05-19 08:07:21 -07:00
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 Rename type_cast to type_cast_from_database 2014-06-09 13:39:51 -06:00