How to enable reusability for ActiveRecord::Base::normalizes

Author:
Source

Sponsored:

Atlas of AI: Power, Politics, and the Planetary Costs of Artificial Intelligence - Audiobook


Uncover the true cost of artificial intelligence.

Listen now, and see the system behind the screens before the future listens to you. = > Atlas of AI $0.00 with trial. Read by Larissa Gallagher


This article reviews the new normalizes feature in Ruby on Rails 7.1 and shows how to increase reusability by creating normalizer modules. I also opened a feature request to add support for ActiveModel, since ActiveRecord::Normalization only supports ActiveRecord, obviously. Please show your support.

Read more