Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
evgeniydemin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
evgeniydemin
3y ago
I’m working on a Rails upgrade for a giant monolith application. It’s been a while already, and while I’m encountering many issues trying to jump from 5.2+ right to 6.1, I want to share some of the stories.
2.
▲
Clean FactoryBot with FactoryTrace
(github.com)
3 points
by
evgeniydemin
3y ago
|
1 comments
3.
▲
by
evgeniydemin
3y ago
Are you a user of FactoryBot? If so, I highly recommend taking a look at the FactoryTrace gem! This gem is designed to automatically detect and identify unused factories and traits in your codebase. It's a fantastic tool for keeping yo
4.
▲
by
evgeniydemin
3y ago
I recently stumbled upon a perplexing discrepancy while converting Time to DateTime using the #to_datetime method. Intrigued by this unexpected behavior, I delved into an investigation to unravel its root cause. I’ll share my findings in th
5.
▲
by
evgeniydemin
4y ago
Writing CRUD controllers in Rails may seem easy, but as your application grows, you'll find it increasingly difficult to maintain and update your code. In this article, you'll learn why extracting business logic from your controll
6.
▲
by
evgeniydemin
4y ago
These simple facts can help boost your application's performance or avoid memory bloats.
7.
▲
by
evgeniydemin
4y ago
Thank you very much for your comments! I appreciate that! So far, I see that N+1 is a "measurable" problem that doesn't have to be removed with an additional layer of hidden complexity.
8.
▲
by
evgeniydemin
4y ago
I'm sorry; I didn't know memes are considered bad things. I'm experimenting with "facing" pictures and haven't found my style so far. What kind of image would you suggest I have on posts like this?
9.
▲
No More N+1. Period
(evgeniydemin.medium.com)
19 points
by
evgeniydemin
4y ago
|
14 comments
10.
▲
by
evgeniydemin
4y ago
Why would you spend your time dealing with annoying N+1 problems when you can enable auto-preloading and forget about it for good? Are you surprised it's possible? Check it out!
11.
▲
Stop using eager loading in your Rails application; use this instead
(evgeniydemin.medium.com)
2 points
by
evgeniydemin
4y ago
|
1 comments
12.
▲
by
evgeniydemin
4y ago
It’s a popular internet recommendation to use eager loading in Ruby on Rails applications to eliminate the N+1 query problem. It may seem like a blessing initially, but it has drawbacks. Gladly, there is a much better solution I want to sha
13.
▲
by
evgeniydemin
4y ago
Glad that you liked it! True about timecop.
14.
▲
Ruby Numbers and the Memory: how I got confused
(evgeniydemin.medium.com)
4 points
by
evgeniydemin
4y ago
|
3 comments
15.
▲
by
evgeniydemin
4y ago
Are you interested in how Ruby stores numbers in memory? It can look not very sensible initially, but knowing this can help you grow professionally.
16.
▲
by
evgeniydemin
4y ago
Unfortunately, I learned it the hard way. Check out the article to avoid the same mistakes.