Skip to content

Commit 2461d49

Browse files
committed
Reverted commit removed
1 parent 78cd2c9 commit 2461d49

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

_posts/2024-02-16-this-week-in-rails.markdown

-5
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@ This change generates a `.devcontainer` folder and its contents when creating a
2121
The `.devcontainer` folder includes everything needed to [boot the app and do development in a remote container](https://containers.dev/).
2222
These files can be skipped using the `--skip-devcontainer` option.
2323

24-
[Use ruby file: ".ruby-version" in Gemfile for new apps](https://github.com/rails/rails/pull/49360)
25-
Previously, new apps would have a Ruby version set in both the Gemfile and the `.ruby-version` file.
26-
This duplication made it more difficult to quickly change an application's ruby version as users must remember to update multiple files.
27-
This change updates the app generator's Gemfile to read the Ruby version from the `.ruby-version` file.
28-
2924
[Add `ActiveRecord::Base.with_connection` as a shortcut for leasing a connection for a short duration](https://github.com/rails/rails/pull/51083)
3025
This change adds `ActiveRecord::Base.with_connection` as a shortcut for leasing a connection for a short duration.
3126
The leased connection is yielded, and for the duration of the block, any call to `ActiveRecord::Base.connection` will yield that same connection.

0 commit comments

Comments
 (0)