The idea would be to remove all the after_create
/ after_update
hooks in our Active Record models and replace them with created_{ModelName}
/ updated_{ModelName}
events containing the new model attributes.
For example
class User < ApplicationRecord