Blogs

Discover tech insights, tutorials, and coding tips

blog cover
How to customize YJIT in the Rails app
In this post, we'll dive into what YJIT is, how to enable it in your Rails app, and how to monitor and configure it for optimal performance.What is YJIT?YJIT is a lightweight Just-In-Time (JIT) compiler introduced in Ruby to speed up method execution...
Software Engineer
Software Engineer
Ruby on Rails
Ruby on Rails
published 2025-02-01 17:28:04 +0700 · 3 mins read
blog cover
One Design Pattern a Week: Week 4
Welcome back to my "One Design Pattern a Week" series! Try to solve this real problem: Request HandlingImagine you're building an enterprise application that needs to process different types of requests (like approvals, validations, or authentication...
Software Engineer
Software Engineer
Design Pattern
Design Pattern
published 2024-10-28 16:55:26 +0700 · 4 mins read
blog cover
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
published 2024-10-28 16:28:19 +0700 · 4 mins read
blog cover
One Design Pattern a Week: Week 3
Welcome back to my "One Design Pattern a Week" series! Try to solve this real problem: Incompatible InterfacesImagine you're developing a large web application that integrates with multiple third-party services. Each service has its own unique interf...
Software Engineer
Software Engineer
Design Pattern
Design Pattern
published 2024-10-02 21:19:10 +0700 · 6 mins read
blog cover
Docker basics: Essential commands
Docker has revolutionized the way we build, ship, and run applications. With its lightweight and portable nature, Docker containers have become the go-to solution for application deployment across different environments. In this blog post, we will wa...
Software Engineer
Software Engineer
Docker
Docker
published 2024-09-22 18:29:53 +0700 · 2 mins read
blog cover
Docker compose basics: Essential commands
Docker has revolutionized the way we develop, package, and deploy applications. It allows us to containerize our applications, providing a consistent and reproducible environment across different platforms. Docker Compose takes it a step further by e...
Software Engineer
Software Engineer
Docker
Docker
published 2024-09-22 18:29:37 +0700 · 3 mins read
blog cover
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
published 2024-09-22 18:28:45 +0700 · 3 mins read
blog cover
One Design Pattern a Week: Week 2
Welcome back to my "One Design Pattern a Week" series! Try to solve this real problem: Object CreationImagine you're developing a large web application that needs to support multiple types of user accounts such as Admin, Guest, and Member. Each type ...
Software Engineer
Software Engineer
Design Pattern
Design Pattern
published 2024-09-22 18:11:47 +0700 · 5 mins read
blog cover
One Design Pattern a Week: Week 1
Welcome back to my "One Design Pattern a Week" series! Try to solve this real problem: Configuration ManagementImagine you're developing a large web application. This application requires various configuration settings such as database credentials, A...
Software Engineer
Software Engineer
Design Pattern
Design Pattern
published 2024-09-22 18:09:35 +0700 · 4 mins read
blog cover
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
published 2024-08-27 21:25:30 +0700 · 3 mins read
blog cover
Beware of html_safe in Rails !!!
Modern web frameworks provide a secure way to develop new applications. However, if we do not understand it well, it still leads to security issues.html_safe in Rails is an example. It seems "safe", but is it safe? Understanding html_safeRef: https:/...
Software Engineer
Software Engineer
Ruby on Rails
Ruby on Rails
published 2024-08-26 19:27:07 +0700 · 2 mins read
blog cover
Notable Changes in Ruby on Rails 7.2
Ruby on Rails 7.2 has arrived with a host of new features and enhancements that focus on improving the performance and efficiency of your applications. In this blog post, we'll delve into some of the most noteworthy changes.Ref: Ruby on Rails 7.2 Rel...
Software Engineer
Software Engineer
Ruby on Rails
Ruby on Rails
published 2024-08-17 18:22:38 +0700 · 3 mins read
Loading more ...