From 67b369781e54139084ddd48d23366828f1c381ed Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Sun, 10 May 2020 03:43:05 +0900 Subject: [PATCH] Active Record uses singleton class eval in tests --- activerecord/test/cases/helper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/activerecord/test/cases/helper.rb b/activerecord/test/cases/helper.rb index f6dd74f3a7..3f7855668d 100644 --- a/activerecord/test/cases/helper.rb +++ b/activerecord/test/cases/helper.rb @@ -8,6 +8,7 @@ require "active_record" require "cases/test_case" require "active_support/dependencies" require "active_support/logger" +require "active_support/core_ext/kernel/singleton_class" require "support/config" require "support/connection"