This Week in Rails

July 11, 2025

Added rename_schema and more

Hi, Wojtek here. Let’s explore this week’s changes in the Rails codebase.

Farewell RailsConf!
800 devs gathered in Philadelphia to share memories and say goodbye at the final RailsConf. Huge thanks to Ruby Central and all the speakers and attendees who made it such a memorable event over the past 19 years.

Add rename_schema method for PostgreSQL
To complement already existing add_schema, drop_schema and schema_exists? methods.

Improve error message for table index length validation
Includes current character length in error messages for index and table name length validations.

Validate encoding on query keys
Always check query string keys for valid encoding just like values are checked.

Deprecate escape_json_responses at the method call
Instead of emitting the deprecation in an initializer, it now emits the deprecation when calling the writer method. Follow up to #54643.

You can view the whole list of changes here. We had 26 contributors to the Rails codebase this past week!

Until next time!

About This Week in Rails

Your weekly inside scoop of interesting commits, pull requests and more from Rails.