Offline Mode
Some functions might not work
Nam Vo Website
I developed this website to
share my knowledge and satisfy my coding passion
0
Total Articles
0
Knowledge Shared
0
Moments Captured
Recent moments
Capturing the beauty of everyday life through my lens.
Reading room
Insightful articles, tutorials, and my coding journey.
LATEST BLOGS

From Heroku to Kamal: Taking Control of My Rails Deployment
I used to deploy my Rails application to Heroku. It was convenient: push the code, wait for the build, and let the platform handle the infrastructure. But eventually, I wanted more control over my server and a more cost-effective way to host my perso...
Software Engineer
Software Engineer
Ruby on Rails
Ruby on Rails

Include, Extend, Prepend in Rails: Understanding Ruby Modules
When I first started working with Rails, I saw include everywhere. Models included modules, controllers included concerns, and some classes used extend or prepend. At first, the differences seemed simple:include adds instance methods.extend adds clas...
Ruby on Rails
Ruby on Rails
Safe Concurrent Updates in Rails with Locks and Atomic SQL
Some applications require handling concurrent updates, like buying concert tickets or transferring money. In these cases, data consistency and atomicity are critical. Any mistake can lead to overbooking, double-spending, or even lost money. This post...
Software Engineer
Software Engineer
Ruby on Rails
Ruby on Rails
Integer and String Enum in Rails
TL;DRFor General Use: I would lean towards using strings for enums due to their readability and maintainability benefits.For Performance-Critical Applications: I would opt for integers, especially if dealing with large datasets or requiring high perf...
Software Engineer
Software Engineer
Ruby on Rails
Ruby on Rails
How to restore scroll position in React Router 6
When developing a Single Page Application (SPA) with React and React Router V6, I encountered a scroll restoration issue. When I go to the new page, the scroll position persists instead of being on the topReact Router V6 offers a ScrollRestoration co...
Frontend
Frontend
Rails 7.2+: How to show all model attributes in Rails Console
With the release of Rails 7.2, a new change was introduced to the way ActiveRecord models are inspected in the Rails console. Prior to this version, calling inspect on an ActiveRecord model instance would display all the model's attributes by default...
Ruby on Rails
Ruby on Rails
Popular apps
Discover the ultimate collection of free tools, conveniently accessible in one place.








.jpeg)
.jpeg)



