Rails 7.0 update (#25668)
This commit is contained in:
parent
8d0c69529a
commit
ce43ed144c
23 changed files with 251 additions and 138 deletions
|
@ -93,7 +93,7 @@ class AccountSearchService < BaseService
|
|||
.objects
|
||||
.compact
|
||||
|
||||
ActiveRecord::Associations::Preloader.new.preload(records, :account_stat)
|
||||
ActiveRecord::Associations::Preloader.new(records: records, associations: :account_stat)
|
||||
|
||||
records
|
||||
rescue Faraday::ConnectionFailed, Parslet::ParseFailed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue