Improve the performance of dropdown containing large data using Virtualization

Super large lists can slow down the site's performance significantly, at times even freeze the application. In such situations windowing (or virtualization) comes to the rescue.

Rails provides better ActiveRecord enum assertions

ActiveRecord now explicitly checks if the enum values are empty by raising an ArgumentError.

Ruby Fibers 101

Ruby 3 focuses more on concurrency with the introduction of Ruby Fibers and the Fiber Scheduler Interface.

ECMAScript 2022 introduces at() method in Array, String, TypedArray

The at() method takes an integer value and returns the element at that index. It allows both positive and negative integers. Negative integers denote counting back from the last item in the array.

Rails adds support for Fiber-safe ActiveRecord ConnectionPools

ActiveRecord's ConnectionPool is now fiber-safe! Adjust the value of config.active_support.isolation_level to either rely on threads or fibers to give a better throughput on fiber-oriented servers like Falcon.

Part 1- Redesigning Saeloun's Website (Messaging)

Redefining target audience, brandscript, and overall messaging of our website.

Rails 7 introduces only_numeric option within numericality validator

With Rails 7, only_numeric option can be used for the numericality validator.

How to integrate Google Analytics with React JS application?

Step-by-step guide on setting up and adding Google Analytics to React application.

Ruby 3.1 adds error highlighting gem

With changes in Ruby 3.1, we will be able to know which object is nil when an error gets raised.

Rails drops records not listed in QueryMethods#in_order_of

QueryMethods#in_order_of now filters down to only the values provided, matching the behavior of the eponymous Enumerable method.