Rails 7 update (#24241)
This commit is contained in:
parent
4fe2d7cb59
commit
50c2a03695
22 changed files with 242 additions and 144 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