Skip to content

Commit c280876

Browse files
authored
Merge pull request rails#54908 from sebaherrera07/update_rails_7_2_release_notes
Add ActiveRecord::Base.establish_connection behavior change to Rails 7.2 release notes [ci skip]
2 parents e31e761 + 535a244 commit c280876

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

guides/source/7_2_release_notes.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,8 @@ Please refer to the [Changelog][active-record] for detailed changes.
478478
479479
### Notable changes
480480
481+
* `ActiveRecord::Base.establish_connection` no longer sets `ActiveRecord::Base.connection.active?` to `true`. If you need this behavior, you can use `ActiveRecord::Base.connection.verify!` instead.
482+
481483
Active Storage
482484
--------------
483485

0 commit comments

Comments
 (0)