Skip to content

Commit

Permalink
ActiveRecord -> Active Record
Browse files Browse the repository at this point in the history
  • Loading branch information
fxn authored and rafaelfranca committed May 21, 2024
1 parent aad7408 commit d4e8f2d
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 d4e8f2d

Please sign in to comment.