Commit Graph

15 Commits

Author SHA1 Message Date
Kevin Deisz 7c9751d7fe
Permit list usage cleanup and clearer documentation 2018-08-27 09:51:46 -04:00
Kevin Deisz c14859513a
Convert over the rest of the whitelist references 2018-08-24 16:10:17 -04:00
Daniel Colson 82c39e1a0b Use assert_empty and assert_not_empty 2018-01-25 23:32:59 -05:00
Daniel Colson 94333a4c31 Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
Kir Shatrov 831be98f9a Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
Matthew Draper 87b3e226d6 Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"
This reverts commit 3420a14590, reversing
changes made to afb66a5a59.
2017-07-02 02:15:17 +09:30
Kir Shatrov cfade1ec7e Enforce frozen string in Rubocop 2017-07-01 02:11:03 +03:00
Xavier Noria 9617db2078 applies new string literal convention in activerecord/test
The current code base is not uniform. After some discussion,
we have chosen to go with double quotes by default.
2016-08-06 18:26:53 +02:00
Vladimir Kochnev acdb006ad0 Let WITH (CTE) queries be explainable 2015-05-28 14:10:09 +03:00
Guo Xiang Tan 3baace687c Use teardown helper method.
Follow-Up to https://github.com/rails/rails/pull/14348

Ensure that SQLCounter.clear_log is called after each test.

This is a step to prevent side effects when running tests. This will allow us to run them in random order.
2014-03-14 20:48:59 -07:00
Daniel Schierbeck 1cc63e94db Don't try to EXPLAIN select_db calls 2013-05-10 16:21:59 +02:00
Xavier Noria ef7a48df75 let EXPLAIN use a thread locals registry [John J. Wang & Xavier Noria]
Closes #10198.
2013-04-16 22:46:55 +02:00
kennyj 5bb056d268 Don't explain except normal CRUD sql. 2012-09-17 00:22:34 +09:00
Aaron Patterson 8edd6deae8 explain listener does not care about time, so use evented listener 2012-06-20 14:20:55 -07:00
Xavier Noria 1e5cdbddfc let automatic EXPLAIN ignore CACHE notifications 2012-02-03 16:10:39 -08:00