Blogs
Rails 7.1 Beta 1: Dockerfiles, BYO Authentication, More Async Queries, and more!
Rails World is fast approaching and we’re gearing up to celebrate the 20th anniversary of Rails in style with the first beta release of Rails 7.1! There has been over five thousand commits made by over 800 contributors since Rails 7.0, so this rel...
Ruby Outperforms C: Breaking the Catch-22 | Rails at Scale
Ruby is an expressive, and fun language to write. It helps us get our job done quickly by allowing us to easily get our thoughts written down as executable code. That said, sometimes the code we write doesn’t perform as well as we would like. In t...
7 Common Techniques to Improve Your Debugging Skills
When we work on Rails upgrades, most of the time we have to solve issues after updating the gems. These problems can go from simple and straightforward to really complex and hard to debug. Here we will discuss different skills and techniques that ...
The most underused pattern in Ruby | Arkency Blog
The most underused pattern in Ruby Recently one of the RailsEventStore users posted an issue that one wanted to use RES on a Postgres database with PostGIS extension. Migration generator used to setup tables for events and streams was failing with...
Working with Rails Engines, Importmap and TailwindCSS for assets.
Rails engines are one of my favorite tools when I want to isolate reusable functionality for Rails applications. An example of this is the NoPassword gem, which allows users to login into an application just with their email and the received link ...
Two Garbage Collection Improvements Made Our Storefronts 8percent Faster | Rails at Scale
At Shopify, we are constantly working on improving the performance of Ruby for everyone. From YJIT, to Variable Width Allocation, to Object Shapes, we are making improvements to Ruby in many areas. One of our goals for the year is to analyze, tune...
Rails 7.1 adds picture_tag helper to support HTML5 picture element | Shakacode
HTML5 introduced the picture tag, represented as which allows developers to provide multiple sources of an image and specify different versions of the image for different scenarios, such as different screen sizes or resolutions.The HTML element ...
The Case Against Monkey Patching, From a Rails Core Team Member (2023)
If you’re new to Ruby, you might not be familiar with monkey patching because some other languages make it difficult to change the behavior of existing code. A monkey patch is code that dynamically alters the behavior of existing objects, typicall...