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.

Cypress 9.3.0 added .selectFile() command to select files

Cypress introduced native support for file upload and selecting files in an HTML5 input element.

React State management - Part 2

Learn some of the inherent ways of managing state without using any external state management tool.

ActiveRecord::Core "#find" now reuses "#find_by" cache key

ActiveRecord::Core now prevents duplicate entries in find/find_by cache resulting in slightly improved performance.

Rails 7 raise ActionController::Redirecting::UnsafeRedirectError for unsafe redirects

Now unsafe redirects raise a UnsafeRedirectError instead of an ArgumentError.

3 Fundamental Design Principles that 99% Apps / Sites get wrong

Visual Contrast, Visual Hierarchy and Minimal design are 3 Design Principles that are missing or poorly implmented on Apps / Websites

Cypress 9.2.0 introduces a new environment variable 'CYPRESS_VERIFY_TIMEOUT'

Add the 'CYPRESS_VERIFY_TIMEOUT' environment variable to override the timeout duration of the verify command.