Rails
Rails 7 Adds update_attribute! Method
While update_attribute was used to bypass validations, update_attribute! now does the same but raises ActiveRecord::RecordNotSaved in case of any errorsRails 7 PostgreSQL Generated Columns
Rails 7 now adds support for generated (virtual) columns to the PostgreSQL adapter that has been available since PSQL v12.Rails 7 Plain Text for Nested Fields
Plain text rendering of nested fields now reserves indentation.Rails 7 Timestamps in insert_all
All relevant timestamp columns (`created_at`, `created_on`, `updated_at`, `updated_on`) are now set via ActiveRecord when using mass insertion queries.Rails 7 PostgreSQL Custom Enum Types
With Rails 7, use create_enum to add a new enum type and t.enum to add a column.Master Rails Enums: A Complete Guide
A detailed guide on what enums are and how to create, configure, and use them in Ruby on Rails for cleaner, more efficient codePostgreSQL data-types in Rails
With Rails, there are many built-in data types that PostgreSQL supports. It's a great addition to the developer's toolkit!Rails Adds authenticate_by Method
Rails adds `authenticate_by` method that helps mitigate timing-based enumeration attacks.Using jsbundling-rails Gem in Rails 7
JSBundling provides a flexible way of using different Javascript bundlersRails 7 GROUP BY and HAVING in Updates
With Rails 7, we can now combine GROUP_BY and HAVING clauses with a more complex update and delete queries.