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 connection specification will deep copy the config 2011-12-30 15:35:21 -08:00
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 Allow to run connection_adapters/quoting_test.rb independently 2012-05-09 17:08:36 -07:00
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