Rails Daily: ActiveRecord Insert Enhancement and ActionText API Updates

Three pull requests merged today bringing the `unique_by` option to `insert_all!`, making an ActionText method public, and fixing documentation code examples.

Duration: PT1M29S

Episode overview

This episode is a short developer briefing from Rails Daily.

It explains recent repository work in plain language.

  • Show: Rails Daily
  • Published: 2026-02-01T11:05:26Z
  • Audio duration: PT1M29S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Good morning, this is Rails Daily for February 1st, 2026.

Three pull requests were merged into Rails core yesterday and today.

Chaadow merged a pull request adding the `unique_by` option to ActiveRecord's `insert_all!` method. This change brings parity with the non-bang `insert_all` method, which already supported the `unique_by` parameter for conflict target handling. The implementation adds 14 lines to the relation module and includes…

Sallyhall merged changes making ActionText's `read_attribute_for_serialization` method public in the Attachable module. This API change removes the private visibility constraint, making the method accessible for external use cases that require serialization attribute access.

Arceus3115 contributed a documentation fix to the getting started guide, correcting a code block example in the product show view section.

All three merges were handled by Rails maintainers Hartley McGuire and Petrik de Heus, with the changes spanning ActiveRecord, ActionText, and documentation components.

Nearby episodes from Rails Daily

  1. ActiveRecord Composite Key Fix and Documentation Update
  2. Environment Variable Revision and Ruby 4.0.1 Update
  3. Query Logging Enhancement and Documentation Fixes
  4. Error Handling and Database Improvements
  5. Feature Additions and Bug Fixes
  6. Developer Experience Improvements
  7. Database Typemap and Code Cleanup
  8. Guide Generation and ActiveSupport Cleanup