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 default value support for binary columns for SQLite

Binary columns now behave like other column types with default values in SQLite.
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 updates through_reflection to distribute transactions across database connections

Models that use multiple databases now perform writes within a single transaction.
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.

ActiveRecord::QueryMethods#select adds support for hash values in Rails 7.1

ActiveRecord::QueryMethods#select adds support for hash values in Rails 7.1
authorImg Swaathi Kakarla
authorImg Swaathi Kakarla

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

Rails extends routes searching to include dynamic URL params

Now search for `cats/10/toys/15` instead of `cats/:cat_id/toys/:id`, making it easier to find the route you're looking for.
authorImg Shruti Apte
authorImg Shruti Apte

Shruti is a ReactJS Developer with over 3 years of experience. She's passionate about building clean, visually appealing, and user-friendly web interfaces. Outside of work, she enjoys traveling and exploring new places.

Understanding the CSS parent selector :has()

If we want to target the parent element based on the content or the child elements we can use :has().
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 "ActionController::Parameters.to_h" can now receive a block

ActionController::Parameters.to_h will now receive a block just like Hash#to_h and achieve parity. This gives the ability to customize the way parameters are passed to the controller.
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 reads ENV["SCHEMA_FORMAT"] when doing rails db:schema:{dump,load}

Previously rails db:schema:{dump,load} would only dump Ruby format. Now it reads ENV["SCHEMA_FORMAT"] to choose between Ruby and SQL formats.
authorImg Ankita Kaushik
authorImg Ankita Kaushik

Ankita is a Frontend Developer, known for her work in crafting appealing and accessible web frontends.

Understanding CSS Feature Queries

CSS Feature Queries are a relatively new addition to the CSS specification, and provide a powerful tool for detecting support for various CSS features in the user's browser.
authorImg Swaathi Kakarla
authorImg Swaathi Kakarla

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

ActiveRecord methods touch and update_columns no longer work for readonly models

Readonly models get updated when touch or update_columns is called.
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 accepts "html" and "screenshot" kwargs for system test screenshot helper

Pass in parameters to take_screenshot to choose an output format between image and HTML file.