Blogs
Discover tech insights, tutorials, and coding tips
Integer and String Enum in Rails
TL;DR
For General Use: I would lean towards using strings for enums due to their readability and maintainability benefits.For Performance-Critical Ap...
Software Engineer
Software Engineer
Ruby on Rails
Ruby on Rails
2024-09-05 23:53:58 +0700
How to Display All Model Attributes in Rails Console for Rails 7.2
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, c...
Ruby on Rails
Ruby on Rails
2024-09-01 22:39:00 +0700
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.ht...
Software Engineer
Software Engineer
Ruby on Rails
Ruby on Rails
2024-08-26 19:27:04 +0700
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...
Software Engineer
Software Engineer
Ruby on Rails
Ruby on Rails
2024-08-17 18:00:24 +0700
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 Record
1. Example problemFirst, take a look at this S...
Software Engineer
Software Engineer
Ruby on Rails
Ruby on Rails
2024-07-10 11:17:29 +0700
[PART 1] Unlocking JavaScript Interview: Promises and Timers
JavaScript interviews often include questions about asynchronous programming, as it's a fundamental concept in modern web development. One common chal...
Web Development
Web Development
Interview
Interview
2024-06-23 16:51:19 +0700
[PART 1] Unlocking React Interview: Key Questions and In-Depth Answers
React.js is one of the most popular JavaScript libraries for building user interfaces. Whether you're a seasoned developer or just starting out, under...
Web Development
Web Development
Interview
Interview
2024-06-17 21:16:52 +0700
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 certific...
Docker
Docker
Software Engineer
Software Engineer
2024-05-26 15:44:03 +0700
Exploring TypeScript Decorators
TypeScript, a statically typed superset of JavaScript, is a modern-age programming language that offers a wide array of advanced features. One of thes...
Web Development
Web Development
2024-04-03 22:56:46 +0700
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, t...
Web Development
Web Development
2024-03-21 19:31:45 +0700
Tips for optimizing images on your website
Images are a vital component of web design, adding visual appeal and context to your content. However, poorly optimized images can significantly impac...
Web Development
Web Development
2024-02-18 16:51:39 +0700
Custom Fullscreen Button: A Cross-Browser Solution
Fullscreen functionality is a common requirement in web development, especially with media elements like custom video player. In this blog post, I'll ...
Web Development
Web Development
2024-01-27 19:06:20 +0700
Loading more ...