File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
activerecord/lib/active_record Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,9 +39,9 @@ def resolve(adapter_name) # :nodoc:
39
39
40
40
begin
41
41
require legacy_adapter_path
42
- # If we reach here it means we found the found a file that may be the legacy adapter and should raise.
42
+ # If we reach here it means we found the file that may be the legacy adapter and should raise.
43
43
if ActiveRecord ::ConnectionHandling . method_defined? ( legacy_adapter_connection_method_name )
44
- # If we find the connection method then we care certain it is a legacy adapter.
44
+ # If we find the connection method then we are certain it is a legacy adapter.
45
45
deprecation_message = <<~MSG . squish
46
46
Database configuration specifies '#{ adapter_name } ' adapter but that adapter has not been registered.
47
47
Rails 7.2 has changed the way Active Record database adapters are loaded. The adapter needs to be
@@ -59,7 +59,7 @@ def resolve(adapter_name) # :nodoc:
59
59
MSG
60
60
else
61
61
# If we do not find the connection method we are much less certain it is a legacy adapter. Even though the
62
- # file exists in the location defined by convenntion , it does not necessarily mean that file is supposed
62
+ # file exists in the location defined by convention , it does not necessarily mean that file is supposed
63
63
# to define the adapter the legacy way. So raise an error that explains both possibilities.
64
64
deprecation_message = <<~MSG . squish
65
65
Database configuration specifies nonexistent '#{ adapter_name } ' adapter.
You can’t perform that action at this time.
0 commit comments