1
0

fix: adapt to Rails 7.0 changes

This commit is contained in:
Noa Himesaka 2023-07-28 23:04:48 +09:00
parent 4bd9739759
commit f8713d1e4a

View File

@ -306,7 +306,7 @@ class Status < ApplicationRecord
end
end
ActiveRecord::Associations::Preloader.new.preload(records, :custom_emoji)
ActiveRecord::Associations::Preloader.new(records: records, associations: :custom_emoji)
records
end