Nam Vo Website
I developed this website to
share my knowledge and satisfy my coding passion
LATEST BLOG
Make Our Utils Functions Immutable
I chose JavaScript for this blog because it has both mutable and immutable objects and methods, while language like Haskell enforces immutability everywhere1. Mutable vs Immutable Objects and MethodsWhen we say an object is immutable, we mean i...
Software Engineer
Software Engineer
Hello Golang: My First Steps to the Language
I’ve worked with Ruby in several projects, which is defined as "a programmer’s best friend" for its clean and English-like syntax. While my back-end experience is rooted in the Ruby on Rails framework, I prefer TypeScript for building CLI tools and s...
Software Engineer
Software Engineer
Top blogs
Explore the most popular blog posts. View all
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
Common Mistakes When Using Sidekiq
Sidekiq is a popular background job processing library for Ruby that allows you to offload time-consuming tasks from your main application thread. While Sidekiq can significantly improve the performance and responsiveness of your application, it's es...
Ruby on Rails
Ruby on Rails
How to Manage and Renew SSL Certificates Using Docker Compose
Securing your website with SSL certificates is essential to protect data transmitted between the server and client. Managing and renewing SSL certificates can be a cumbersome task, but Docker simplifies this process. In this blog post, we will demons...
Docker
Docker
Software Engineer
Software Engineer
Solving the "must appear in the GROUP BY clause" Error in Rails and PostgreSQL
This blog will give an example of how to resolve this common error when using group_by in Active Record1. Example problemFirst, take a look at this SQL problem. Imagine you're working on a booking application where users can have multiple sessions. Y...
Software Engineer
Software Engineer
Ruby on Rails
Ruby on Rails