Skip to content

Commit

Permalink
ActiveRecord -> Active Record
Browse files Browse the repository at this point in the history
  • Loading branch information
fxn committed May 21, 2024
1 parent 692f25a commit 1b534a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def initialize(config_or_deprecated_connection, deprecated_logger = nil, depreca
@logger = ActiveRecord::Base.logger

if deprecated_logger || deprecated_connection_options || deprecated_config
raise ArgumentError, "when initializing an ActiveRecord adapter with a config hash, that should be the only argument"
raise ArgumentError, "when initializing an Active Record adapter with a config hash, that should be the only argument"
end
else
# Soft-deprecated for now; we'll probably warn in future.
Expand Down

0 comments on commit 1b534a4

Please sign in to comment.