Rails 7 update (#24241)
This commit is contained in:
parent
4fe2d7cb59
commit
50c2a03695
22 changed files with 242 additions and 144 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue