Evgeniy DeminDatabase 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…Nov 19, 2024A response icon1Nov 19, 2024A response icon1
Evgeniy DeminSurprising 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…Aug 10, 2023A response icon1Aug 10, 2023A response icon1
Evgeniy DeminRails upgrade led to Ruby bugHave you ever seen Ruby bugs? I did. Join my short journey on how that happened.Jun 30, 2023Jun 30, 2023
Evgeniy DeminRails 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…Jun 27, 2023A response icon2Jun 27, 2023A response icon2
Evgeniy DeminFrom 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…Apr 11, 2023A response icon3Apr 11, 2023A response icon3
Evgeniy DeminAutomatic 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.Mar 14, 2023A response icon4Mar 14, 2023A response icon4
Evgeniy DeminStop 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…Feb 28, 2023A response icon4Feb 28, 2023A response icon4
Evgeniy DeminRuby 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…Feb 1, 2023A response icon1Feb 1, 2023A response icon1
Evgeniy DeminUniqueness 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…Jan 19, 2023A response icon3Jan 19, 2023A response icon3