Skip to content

Commit

Permalink
fix: use ActiveSupport from top-level namespace (#1123)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanharkins authored Aug 19, 2024
1 parent efaa404 commit 9ce7e39
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def require_dependencies
end

def patch_activerecord
ActiveSupport.on_load(:active_record) do
::ActiveSupport.on_load(:active_record) do
# Modules to prepend to ActiveRecord::Base are grouped by the source
# module that they are defined in as they are included into ActiveRecord::Base
# Example: Patches::PersistenceClassMethods refers to https://github.com/rails/rails/blob/v6.1.0/activerecord/lib/active_record/persistence.rb#L10
Expand Down

0 comments on commit 9ce7e39

Please sign in to comment.