aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/query_cache_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix query cache when using shared connectionsHeinrich Lee Yu2019-07-081-0/+17
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-131-1/+0
* All modern adapters returns a numeric value as the result of numeric calculationRyuta Kamizono2019-06-111-5/+1
* Invalidate query cache for all connections in the current threadEileen Uchitelle2019-02-011-0/+38
* No need to handle if FrozenError is availableYasuo Honda2018-12-231-1/+1
* Merge pull request #34753 from eileencodes/raise-less-confusing-error-if-hand...Eileen M. Uchitelle2018-12-211-0/+5
|\
| * Raise helpful error when role doesn't existEileen Uchitelle2018-12-211-0/+5
* | Enable `Style/RedundantBegin` cop to avoid newly adding redundant begin blockRyuta Kamizono2018-12-211-57/+53
|/
* Fix query cache for multiple connectionsEileen Uchitelle2018-11-201-0/+16
* Use `assert_no_queries` not to ignore BEGIN/COMMIT queriesRyuta Kamizono2018-10-051-3/+4
* No private def in the codebaseRafael Mendonça França2018-09-211-10/+11
* Enable `Layout/EmptyLinesAroundBlockBody` to reduce review cost in the futureRyuta Kamizono2018-07-121-1/+0
* Add ability to configure cache notifications infoEileen Uchitelle2018-06-121-1/+23
* Fix `CustomCops/AssertNot` to allow it to have failure messageRyuta Kamizono2018-05-131-2/+2
* Replace `assert !` with `assert_not`Daniel Colson2018-04-191-3/+3
* Optimize the code inside AR::QueryCache middlewareBogdan Gusiev2018-04-041-1/+2
* Use the query cache when connection is already connectedyuuji.yaginuma2018-02-191-0/+11
* Deprecate update_attributes and update_attributes!Eddie Lebow2018-02-171-2/+2
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-3/+3
* Change refute to assert_notDaniel Colson2018-01-251-7/+7
* Handle `FrozenError` if it is availableYasuo Honda2017-12-201-1/+1
* Merge pull request #28869 from eugeneius/query_cache_all_poolsMatthew Draper2017-11-171-0/+9
|\
| * Enable query cache on all connection poolsEugene Kenny2017-04-241-0/+9
* | sqlite3 adapter returns integer value which used to be stringYasuo Honda2017-09-011-7/+3
* | Merge remote-tracking branch 'origin/master' into unlock-minitestRafael Mendonça França2017-08-011-3/+3
|\ \
| * \ Merge pull request #29869 from kamipo/make_type_map_to_privateRafael França2017-07-211-3/+1
| |\ \
| | * | Make `type_map` to private because it is only used in the connection adapterRyuta Kamizono2017-07-201-3/+1
| * | | Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
| |/ /
* | | Merge branch 'master' into unlock-minitestKasper Timm Hansen2017-07-151-23/+53
|\| |
| * | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| * | Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
| * | Should use the same connection in using query cacheRyuta Kamizono2017-06-291-7/+1
| * | Merge pull request #29614 from kamipo/show_query_cache_keys_2Rafael França2017-06-281-1/+2
| |\ \
| | * | Show query cache keys in `test_middleware_caches`Ryuta Kamizono2017-06-291-1/+2
| * | | Enable query cache if set a configurationsTsukasa OISHI2017-06-291-14/+2
| |/ /
| * | Show query cache keys in `test_exceptional_middleware_clears_and_disables_cac...Ryuta Kamizono2017-06-281-1/+2
| * | Ensure query caching for `select_*` methods in connection adaptersRyuta Kamizono2017-06-151-0/+40
| * | Fix `Relation#exists?` queries with query cacheRyuta Kamizono2017-06-151-0/+6
| |/
* / Only clean the connection of the current connection poolRafael Mendonça França2017-04-261-1/+1
|/
* Ensure test threads share a DB connectioneileencodes2017-02-201-0/+12
* Use temporary connection pool for sqlite3_mem adapterYasuo Honda2017-01-311-11/+22
* Make sure to clear query cache to prevent sporadic test failureAkira Matsuda2017-01-181-0/+4
* oops! :scream_cat:Akira Matsuda2017-01-101-1/+1
* Use temporary connection pool for the tests clearing AR::Base's active_connec...Akira Matsuda2017-01-101-59/+92
* Fix style guide violationsRafael Mendonça França2017-01-051-3/+3
* Merge pull request #25460 from maclover7/jm-uncachedSean Griffin2017-01-031-0/+21
|\
| * Add explicit testing for `uncached` vs. `cached`Jon Moss2016-06-211-0/+21
* | fix QueryCache nil dupRichard Monette2016-12-151-0/+14
* | Configure query caching (per thread) on the connection poolMatthew Draper2016-11-061-0/+34
* | Clear query cache during checkin, instead of an execution callbackMatthew Draper2016-10-271-28/+68