authorImg Apoorv Tiwari
authorImg Apoorv Tiwari

Apoorv is a Ruby on Rails and React Developer with 3 years of experience.

ECMAScript 2021 introduces Promise.any() and AggregateError

ECMAScript 2021 introduces Promise.any() method which accepts an iterable of promises and waits for the first promise to fulfill, and its result becomes the outcome. If all the passed promises are rejected, it returns an AggregateError.
authorImg Swaathi Kakarla
authorImg Swaathi Kakarla

Swaathi Kakarla is a Ruby on Rails Developer specializing in building super-fast and secure web applications.

Rails 7 adds Marginalia to Query Logs

With this update, Marginalia SQL comments are added to Rails as a native feature!
authorImg Deepak Mahakale
authorImg Deepak Mahakale

Deepak is an Engineering Manager at Saeloun who leads project delivery, mentors developers, and actively contributes to the codebase.

Rails 7 adds support for ActiveStorage expiring URLs

Rails 7 adds the `expires_in` option in the ActiveStorage URL helper for generating expiring URLs.
authorImg Chetan Gawai
authorImg Chetan Gawai

I am a Javascript and React enthusiast, and I absolutely love writing technical blogs. There's just something about the process of breaking down complex concepts and sharing my knowledge with others that really excites me. In my free time, I enjoy exploring my other passions, such as painting, gardening, cooking, and managing my food blog.

Keep the React app responsive even during large screen updates with startTransition API introduced in React 18

The newly introduced startTransition API helps to improve the user interactions by categorizing the state updates as urgent and non-urgent.
authorImg Keshav Biswa
authorImg Keshav Biswa

Keshav is a Senior Software Developer with expertise in Ruby on Rails. He is committed to building robust, high-quality systems while leading a project delivery.

Rails 7 adds ActiveRecord::Relation#structurally_compatible?

Rails 7 adds ActiveRecord::Relation#structurally_compatible? to provide an easy way to check if two relations are structurally compatible before running `or` or `and` query on it.
authorImg Swaathi Kakarla
authorImg Swaathi Kakarla

Swaathi Kakarla is a Ruby on Rails Developer specializing in building super-fast and secure web applications.

Rails 7 adds attributes_for_database to return attributes as they would be in the database

Before this update, serializing an ActiveRecord object led to funny outcomes. Let's dive in!
authorImg Rohit Joshi
authorImg Rohit Joshi

I am a Ruby on Rails developer with over two years of experience, most of which is working remotely. I am a typical Punekar and in my free time I play badminton, workout, go trekking and I like to interact with people. Feel free to slide into my DMs and say Hi! 😄

Rails 7 allows anything that responds to `#to_str` into redirect_to

Rails 7 adds support for redirecting using any arguments that respond_to `#to_str`.
authorImg Apoorv Tiwari
authorImg Apoorv Tiwari

Apoorv is a Ruby on Rails and React Developer with 3 years of experience.

ECMAScript 2021 introduces replaceAll method and numeric separators

ECMAScript 2021 introduces the replaceAll() method to replace all occurrences of a substring in a string with another string and numeric separators to allow a separator character between digits.
authorImg Keshav Biswa
authorImg Keshav Biswa

Keshav is a Senior Software Developer with expertise in Ruby on Rails. He is committed to building robust, high-quality systems while leading a project delivery.

Rails 7 optimizes remove_columns to use a single SQL statement when supported

Rails 7 remove_columns will now trigger a single SQL statement to remove all columns if the database supports it, instead of querying multiple SQL statements for removing individual columns.
authorImg Swaathi Kakarla
authorImg Swaathi Kakarla

Swaathi Kakarla is a Ruby on Rails Developer specializing in building super-fast and secure web applications.

Rails 7 now consistently renders button_to

Rails 7 introduced a config that helps button_to consistently render out to the button HTML tag.