Skip to content

Commit f41cd78

Browse files
committed
Include reader contributrions
1 parent 05a7cf0 commit f41cd78

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

posts/2025-06-26-5-gems-you-no-longer-need-with-rails.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ The trickier part is the non-framework dependencies. The ones that gave tremendo
2020

2121
* can you upgrade them gradually in disconnect with framework changing on the same step
2222

23-
The more of them, the bigger the trouble. And eventually more changelogs to inspect each time. If we could remove some gems, it would be great help. There are many heuristics to detect dead gem dependencies.
23+
The more of them, the bigger the trouble. And eventually more changelogs to inspect each time. If we could remove some gems, it would be great help.
2424

25-
Here is the one that I use — *replace external gems with framework features* and my personal top 5 list of gems you no longer need with Rails.
25+
## The list
26+
27+
There are many heuristics to detect dead gem dependencies. Here is the one that I use — *replace external gems with framework features* and my personal top 5 list of gems you no longer need with Rails.
2628

2729
### aasm
2830

@@ -50,4 +52,14 @@ Rails introduced [encryption](https://guides.rubyonrails.org/active_record_encry
5052

5153
The differences in storage — number, naming and payload of stored, encrypted database columns make this replacement not quite straight-forward. Here's a [possible upgrade path](https://pagertree.gitbook.io/blog/migrate-attr_encrypted-to-rails-7-active-record-encrypts) as described by the PagerTree team.
5254

53-
I'm curious what are your top gems no longer needed with Rails. Happy upgrading!
55+
## Reader's picks
56+
57+
I'm curious what are **your** top gems no longer needed with Rails. Here's the list collected from reader submissions.
58+
59+
60+
### request_store
61+
62+
Obsolete since the introduction of [CurrentAttributes](https://edgeapi.rubyonrails.org/classes/ActiveSupport/CurrentAttributes.html) in Rails 5.2. Thank you, [inulty](https://x.com/inultydev)!
63+
64+
65+
Happy upgrading!

0 commit comments

Comments
 (0)