def load_seed
      seed_file = paths["db/seeds.rb"].existent.first
      return unless seed_file

      if config.try(:active_job)&.queue_adapter == :async
        with_inline_jobs { load(seed_file) }
      else
        load(seed_file)
      end
    end
def load_seed
      seed_file = paths["db/seeds.rb"].existent.first
      return unless seed_file

      if config.try(:active_job)&.queue_adapter == :async
        with_inline_jobs { load(seed_file) }
      else
        load(seed_file)
      end
    end
Load data from db/seeds.rb file. It can be used in to load engines'
 seeds, e.g.:

 Blog::Engine.load_seed