aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/connection_adapters
Commit message (Expand)AuthorAgeFilesLines
* Treat ActiveRecord::Base and ApplicationRecord as "primary"eileencodes2019-06-051-0/+13
* Merge pull request #35946 from alimi/cache-full-mysql-database-versionKasper Timm Hansen2019-04-161-0/+4
|\
| * Cache full MySQL version in schema cacheAli Ibrahim2019-04-111-0/+4
* | Bump RuboCop to 0.67.2Koichi ITO2019-04-161-2/+2
* | Ensure a handler is set when using `connected_to`eileencodes2019-04-081-7/+34
|/
* Cache database version in schema cacheAli Ibrahim2019-04-031-2/+28
* Revert "Remove Marshal support from SchemaCache"Rafael Mendonça França2019-03-131-0/+18
* Schema Cache: cache table indexesKasper Timm Hansen2019-03-131-9/+28
* Remove Marshal support from SchemaCacheKasper Timm Hansen2019-03-121-16/+0
* Fix database configurations building when DATABASE_URL presentVladimir Dementyev2019-02-121-0/+10
* Add ability to change the names of the default handlersEileen Uchitelle2019-02-012-0/+47
* Fix case when we want a UrlConfig but the URL is nilEileen Uchitelle2019-01-301-0/+8
* Fix error raised when handler doesn't existEileen Uchitelle2019-01-251-3/+3
* :recycle: Fix mysql type map for enum and setbannzai2019-01-081-0/+4
* Merge pull request #33985 from eugeneius/attribute_methods_schema_cacheKasper Timm Hansen2019-01-031-0/+16
|\
| * Only define attribute methods from schema cacheEugene Kenny2018-09-281-0/+16
* | Add assertions for `ActiveRecord::Base.current_role`Ryuta Kamizono2019-01-021-0/+6
* | Raise helpful error when role doesn't existEileen Uchitelle2018-12-211-0/+10
* | Add AR::Base.connected_to?John Hawthorn2018-12-111-0/+11
* | Make connection handler per thread instead of per fiberEileen Uchitelle2018-11-201-0/+37
* | Exercise `connected_to` and `connects_to` methodsbogdanvlviv2018-11-151-0/+35
* | Ensure that `ActiveRecord::Base#connected_to` with `:database` establishes co...bogdanvlviv2018-11-121-3/+21
* | Add support for hash and url configs in connected_toGannon McGibbon2018-10-261-0/+39
* | Basic API for connection switchingEileen Uchitelle2018-10-101-0/+193
* | Exercise stringify of database configurationsbogdanvlviv2018-10-051-0/+5
|/
* Fix "warning: shadowing outer local variable - config"yuuji.yaginuma2018-09-261-2/+2
* Stringify database configurationsGannon McGibbon2018-09-241-0/+24
* Refactors Active Record connection managementEileen Uchitelle2018-08-302-3/+9
* Relax assertions in connection config testsDaniel Colson2018-04-201-2/+2
* Autocorrect `refute` RuboCop violationsDaniel Colson2018-04-031-2/+2
* Remove leftover blank sqlite3 file after in memory handler tests.utilum2018-04-011-0/+2
* Fix connection handling with three-tier configeileencodes2018-03-161-0/+48
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-252-7/+7
* Skip test that use fork in the memory store dbRafael Mendonça França2018-01-241-32/+34
* Make discard safe when it follows a manual disconnectMatthew Draper2018-01-251-0/+40
* Don't update counter cache when through record was not destroyedEugene Kenny2018-01-141-4/+4
* Revert commit 4ec5b0d6b4d8a57e034b1014942356e95caf47aa in favor of #28379Ryuta Kamizono2018-01-071-3/+3
* Don't pass `object_id` to `refute_nil` since `object_id` never to be nilRyuta Kamizono2017-12-261-6/+6
* Improve AR connection fork safetyMatthew Draper2017-11-181-0/+32
* Merge remote-tracking branch 'origin/master' into unlock-minitestRafael Mendonça França2017-08-017-4/+18
|\
| * Merge pull request #29869 from kamipo/make_type_map_to_privateRafael França2017-07-212-4/+4
| |\
| | * Make `type_map` to private because it is only used in the connection adapterRyuta Kamizono2017-07-202-4/+4
| * | Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-197-0/+14
| |/
| * Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-027-7/+0
| * Enforce frozen string in RubocopKir Shatrov2017-07-017-0/+7
* | Add teardown to reset_connection at MysqlTypeLookupTestYasuo Honda2017-06-071-0/+7
|/
* `DEFAULT_ENV` falls back to `default_env` when `RAILS_ENV` or `RACK_ENV` is a...Ryuta Kamizono2017-05-251-0/+11
* Allow 3-level DB configs to group connections by environmentMatthew Draper2017-02-221-0/+60
* Fix a test of AR::Type::TypeMap#lookup when using OracleKoichi ITO2017-02-021-6/+14
* Fix pool_from_any_process to use most recent speceileencodes2017-01-131-0/+35