Revert "Rails 7 update" (#25667)
This commit is contained in:
parent
5b46345459
commit
ba06a2f104
22 changed files with 144 additions and 242 deletions
|
@ -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: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue