Skip to content

Commit

Permalink
Avoid loading ActiveRecord::Base early (#91)
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: #89
Fix: #90
  • Loading branch information
casperisfine authored Nov 23, 2023
1 parent 7da2abe commit 4afa131
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 4afa131

Please sign in to comment.