Rails

Rails 8 adds Kamal by default.

All new applications using Rails 8 will have Kamal by default.

Enhancing Data Integrity With validate_foreign_key In Rails

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 Adds GitHub CI Workflow By Default To New Applications

All new applications using Rails 7.2 will have GitHub CI workflow by default.

ActiveRecord::Base#pluck adds support for hash values in Rails 7.2

ActiveRecord pluck and pick can accept hash values for specifying columns from Rails 7.2

Enhancing 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

Rails 7.2 adds Rubocop by default to new applications

All new applications using Rails 7.2 will have rubocop gem by default.

Rails 7.2 Adds Rate Limiting to Action Controller

Rails 7.2 provides in built method rate_limit to define rate limiting rules in the controller itself.

Rails 7.2 adds allow_browser to set minimum browser version

Rails 7.2 allows us to set minimum browser version for compatibility.

Rails 7.1.2 now ignores implicitly passed locals in templates that use strict local definitions

Templates that use strict locals can not accept anything other than those defined. This previously raised exceptions for implicitly passed locals that a user is unaware of.

Rails 7.2 adds Brakeman by default to new applications

All new applications using Rails 7.2 will have Brakeman gem by default for static analysis for security vulnerabilities.