aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/helper.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-03-17 03:53:48 +0900
committerGitHub <noreply@github.com>2019-03-17 03:53:48 +0900
commit1db05065434e1b5341e6748632e310060e92b80d (patch)
tree234dd16076aa757c37c0c83f80d719b504b8d7d4 /activerecord/test/cases/helper.rb
parent6486f80d3a3448579089fab1c8b7846c09cf87ec (diff)
parent97347d8c409f14b682dd9ec52ded3c869d0ba479 (diff)
downloadrails-1db05065434e1b5341e6748632e310060e92b80d.tar.gz
rails-1db05065434e1b5341e6748632e310060e92b80d.tar.bz2
rails-1db05065434e1b5341e6748632e310060e92b80d.zip
Merge pull request #35615 from kamipo/optimizer_hints
Support Optimizer Hints
Diffstat (limited to 'activerecord/test/cases/helper.rb')
-rw-r--r--activerecord/test/cases/helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/cases/helper.rb b/activerecord/test/cases/helper.rb
index a9ec667eba..f95d082907 100644
--- a/activerecord/test/cases/helper.rb
+++ b/activerecord/test/cases/helper.rb
@@ -64,6 +64,7 @@ end
supports_insert_on_duplicate_skip?
supports_insert_on_duplicate_update?
supports_insert_conflict_target?
+ supports_optimizer_hints?
].each do |method_name|
define_method method_name do
ActiveRecord::Base.connection.public_send(method_name)