Skip to content

Commit

Permalink
WIP class cache
Browse files Browse the repository at this point in the history
  • Loading branch information
gbp committed Jan 8, 2025
1 parent f4d6c10 commit 0e40ec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/no_constraint_disabling.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module ActiveRecord
class FixtureSet
def self.create_fixtures(fixtures_directory, fixture_set_names, class_names = {}, config = ActiveRecord::Base)
fixture_set_names = Array(fixture_set_names).map(&:to_s)
class_names = ClassCache.new class_names, config
class_names.stringify_keys!

# FIXME: Apparently JK uses this.
connection = block_given? ? yield : ActiveRecord::Base.connection
Expand Down

0 comments on commit 0e40ec0

Please sign in to comment.