Skip to content

Commit

Permalink
Avoid loading ActiveRecord::Base early
Browse files Browse the repository at this point in the history
Doing this cause a slew of problems with Rails loading process, causing some configurations not to be applied, etc.

Fix: DatabaseCleaner#89
Fix: DatabaseCleaner#90
  • Loading branch information
casperisfine authored Nov 23, 2023
1 parent 7da2abe commit f2b04b1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/database_cleaner/active_record/truncation.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require "delegate"
require 'active_record/base'
require 'database_cleaner/active_record/base'

module DatabaseCleaner
Expand Down

0 comments on commit f2b04b1

Please sign in to comment.