Skip to content

Commit e311e60

Browse files
committed
Fix typo in SchemaMigration deprecation
1 parent c18e8ad commit e311e60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

activerecord/lib/active_record/migration.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1127,7 +1127,7 @@ def initialize(migrations_paths, schema_migration = nil, internal_metadata = nil
11271127
ActiveRecord.deprecator.warn(<<-MSG.squish)
11281128
SchemaMigration no longer inherits from ActiveRecord::Base. If you want
11291129
to use the default connection, remove this argument. If you want to use a
1130-
specific connection, instaniate MigrationContext with the connection's schema
1130+
specific connection, instantiate MigrationContext with the connection's schema
11311131
migration, for example `MigrationContext.new(path, Dog.connection.schema_migration)`.
11321132
MSG
11331133

@@ -1138,7 +1138,7 @@ def initialize(migrations_paths, schema_migration = nil, internal_metadata = nil
11381138
ActiveRecord.deprecator.warn(<<-MSG.squish)
11391139
SchemaMigration no longer inherits from ActiveRecord::Base. If you want
11401140
to use the default connection, remove this argument. If you want to use a
1141-
specific connection, instaniate MigrationContext with the connection's internal
1141+
specific connection, instantiate MigrationContext with the connection's internal
11421142
metadata, for example `MigrationContext.new(path, nil, Dog.connection.internal_metadata)`.
11431143
MSG
11441144

0 commit comments

Comments
 (0)