module Serega::SeregaPlugins::ActiverecordPreloads
plugin :activerecord_preloads loads every :preload of the serialized fields once, with ActiveRecord::Associations::Preloader
class AppSerializer < Serega plugin :activerecord_preloads config.auto_preload = true end