Rails
BatchEnumerator#destroy_all Returns Count
Rails 7.2 enhances BatchEnumerator#destroy_all to return the count of destroyed records.Rails 7.2 Blob#compose Custom Key Support
Rails 7.2 allows to add custom blob key in the ActiveStorage::Blob APIsRails 7.2 order Supports Hash Values
With Rails 7.2, ActiveRecord::Relation#order supports hash values where keys are table name, value is a hash of key (column name) and value (order direction).Rails 7.2 PG Adapter Date Type Casting
Rails 7.2 adds a Date decoder to the PostgreSQL adapter to type cast date columns to Ruby Date.Rails 7.2 n_plus_one_only Strict Loading
In Rails 7.2, with strict loading in :n_plus_one_only mode, associations are eagerly loaded and child associations are lazy loaded.Rails 8 adds Kamal by default.
All new applications using Rails 8 will have Kamal by default.Rails validate_foreign_key for Data Integrity
validate_foreign_key validates foreign key constraint and is designed to reduce the impact of adding foreign keys on high-traffic tables in PostgreSQL.Rails 7.2 GitHub CI Workflow by Default
All new applications using Rails 7.2 will have GitHub CI workflow by default.Rails 7.2 pluck and pick Accept Hash for Joins
Rails 7.2 lets pluck and pick accept hash values to specify columns from joined tables without raw SQL.Rails Log Output with SQL Query Count
Rails adds SQL query counts to logs, improving developers ability to optimize application performance by providing more detailed data on database interactions