Rails71

Rails 7.1 Audio Analyzer Sample Rate

Extract the sample rate of an audio file with ActiveStorage::AudioAnalyzer which will return the bit rate, duration, and sample rate

Duplicate Column Error Now Shows Table Name

Table name is shown in the error when duplicate columns for the same table is entered while creating it.

Rails 7.1 Improves Support for Custom Namespaces

This patch improves the support for defining custom namespaces while autoloading files.

Rails 7.1 Introduces Default Health Check

Rails 7.1 now introduces a default health check endpoint for health checks.

Rails Preserves TTL on Increment/Decrement

Rails now preserve expires_in while incrementing or decrementing an integer value in MemoryStore to be more consistent with MemCachedStore and RedisCacheStore

Rails 7.1 db:prepare Loads Schema

Rails 7.1 introduces a new feature to allow db:prepare to load schema if the database already exists but is empty.

Rails Opt Out of SameSite Cookie

Rails 7.1 introduces a new feature to allow opting out of the SameSite cookie attribute when setting a cookie.

Rails 7.1 Adds Rails.env.local? Method

Rails adds the ability to identify whether the current environment is the local development environment with the help of `Rails.env.local?`

Rails Ignore Tables in Schema Dumps

Ignore tables by configuring regular expressions on ActiveRecord::SchemaDumper.

Enumerable#many? Forwards Parameters

When used in conjunction with each_with_index Enumerable#many? does not forward index parameter unlike Enumerable#any?.