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
Reading room
Insightful articles, tutorials, and my coding journey.
LATEST BLOGS
Store Sensitive Data in Rails
attr_encrypted used to be the go-to solution for encryption in Rails applications. However, Rails 7 introduced Active Record Encryption, making application-level encryption a first-class feature. Adding encryption is now as simple as:// language: rub...
Software Engineer
Software Engineer
Ruby on Rails
Ruby on Rails
PWA and Service Worker: Making Your Web App Feel Native
You might have seen browsers allow you to install a website like an app. Building a native application takes significant effort, and not many common applications support it. Google Calendar and Gemini are examples. To use them like a native app, I ju...
Software Engineer
Software Engineer
Frontend
Frontend
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
How to get table index size in PostgreSQL
Indexes play a crucial role in enhancing the performance of database queries. They allow for faster data retrieval by creating a separate data structure pointing to the data stored in a table. However, indexes come with a cost in terms of disk space ...
Software Engineer
Software Engineer
Interpreted vs Compiled Programming Languages
Programming languages serve as powerful tools for developers to create software applications and bring their ideas to life. Behind the scenes, these languages are executed by either compiling or interpreting processes. In this blog, we will explore t...
Software Engineer
Software Engineer
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
Recent moments
Capturing the beauty of everyday life through my lens.
Popular apps
Discover the ultimate collection of free tools, conveniently accessible in one place.