Evgeniy Demin·Nov 19, 2024Database Schema OwnershipIt’s been a while since my last article. Now, feeling fresh and energetic, I want to highlight a problem that has been bothering me for…A response icon1A response icon1
Evgeniy Demin·Aug 10, 2023Surprising breaking change during Rails upgrade in sprocketsI have noticed one strange behavior about how Rails serves static files. It looks like a breaking change because I’m upgrading Rails 5.2 to…A response icon1A response icon1
Evgeniy Demin·Jun 30, 2023Rails upgrade led to Ruby bugHave you ever seen Ruby bugs? I did. Join my short journey on how that happened.
Evgeniy Demin·Jun 27, 2023Rails upgrade: why it’s hard and a single trick on simplifying it..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…A response icon2A response icon2
Evgeniy Demin·Apr 11, 2023From Rails Controller to Business ActionLevel up your Rails controllers by extracting business logic into reusable, testable, and more organized code units. Learn how in this…A response icon3A response icon3
Evgeniy Demin·Mar 14, 2023Automatic preloading in Rails: the dream that came true.Stop using includes for resolving N+1 issues. You don’t need it. Use auto-preloading instead, and here is how.A response icon3A response icon3
Evgeniy Demin·Feb 28, 2023Stop using manual preloading in your Rails application; use this instead.It’s a popular internet recommendation to use preloading in Ruby on Rails applications to eliminate the N+1 query problem. It may seem like…A response icon4A response icon4
Evgeniy Demin·Feb 1, 2023Ruby on Rails associations can be buggyWhen dealing with has_one associations in the Ruby on Rails ORM framework ActiveRecord, there is a tiny but essential detail. This missing…A response icon1A response icon1
Evgeniy Demin·Jan 19, 2023Uniqueness validation does not work since the beginning of Ruby on Rails.This story is about a problem of uniqueness validation in ActiveRecord (Ruby on Rails default ORM). It’s time to solve it once and for…A response icon3A response icon3