0
0
Fork 0

Rails 7 update (#24241)

This commit is contained in:
Matt Jankowski 2023-07-02 04:38:53 -04:00 committed by GitHub
parent 4fe2d7cb59
commit 50c2a03695
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 242 additions and 144 deletions

View file

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