Skip to content

Commit 4afa131

Browse files
authored
Avoid loading ActiveRecord::Base early (#91)
Doing this cause a slew of problems with Rails loading process, causing some configurations not to be applied, etc. Fix: #89 Fix: #90
1 parent 7da2abe commit 4afa131

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

lib/database_cleaner/active_record/truncation.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
require "delegate"
2-
require 'active_record/base'
32
require 'database_cleaner/active_record/base'
43

54
module DatabaseCleaner

0 commit comments

Comments
 (0)