Rails 7 update (#24241)
This commit is contained in:
parent
4fe2d7cb59
commit
50c2a03695
22 changed files with 242 additions and 144 deletions
|
@ -37,7 +37,7 @@ class InlineRenderer
|
|||
private
|
||||
|
||||
def preload_associations_for_status
|
||||
ActiveRecord::Associations::Preloader.new.preload(@object, {
|
||||
ActiveRecord::Associations::Preloader.new(records: @object, associations: {
|
||||
active_mentions: :account,
|
||||
|
||||
reblog: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue