fix: adapt to Rails 7.0 changes
This commit is contained in:
parent
4bd9739759
commit
f8713d1e4a
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user