Skip to content

Commit eac95d5

Browse files
committed
Fix the ActionRecord typo
1 parent 967fc62 commit eac95d5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

activerecord/lib/active_record/connection_handling.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,13 +263,13 @@ def connection
263263
case ActiveRecord.permanent_connection_checkout
264264
when :deprecated
265265
ActiveRecord.deprecator.warn <<~MESSAGE
266-
Called deprecated `ActionRecord::Base.connection` method.
266+
Called deprecated `ActiveRecord::Base.connection` method.
267267
268268
Either use `with_connection` or `lease_connection`.
269269
MESSAGE
270270
when :disallowed
271271
raise ActiveRecordError, <<~MESSAGE
272-
Called deprecated `ActionRecord::Base.connection` method.
272+
Called deprecated `ActiveRecord::Base.connection` method.
273273
274274
Either use `with_connection` or `lease_connection`.
275275
MESSAGE

guides/source/5_0_release_notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ Please refer to the [Changelog][active-record] for detailed changes.
781781
To enable, set `prepared_statements: true` in `config/database.yml`.
782782
([Pull Request](https://github.com/rails/rails/pull/23461))
783783

784-
* Added ability to call `ActionRecord::Relation#update` on relation objects
784+
* Added ability to call `ActiveRecord::Relation#update` on relation objects
785785
which will run validations on callbacks on all objects in the relation.
786786
([Pull Request](https://github.com/rails/rails/pull/11898))
787787

0 commit comments

Comments
 (0)