Revert "Rails 7 update" (#25667)
This commit is contained in:
@@ -37,7 +37,7 @@ class InlineRenderer
|
||||
private
|
||||
|
||||
def preload_associations_for_status
|
||||
ActiveRecord::Associations::Preloader.new(records: @object, associations: {
|
||||
ActiveRecord::Associations::Preloader.new.preload(@object, {
|
||||
active_mentions: :account,
|
||||
|
||||
reblog: {
|
||||
|
Reference in New Issue
Block a user