Add Rails 6 backport for ActiveRecord

This fixes the "can't create Thread: Resource temporarily unavailable" error.
This commit is contained in:
Patrick Gansterer 2021-09-09 13:23:20 +02:00
parent 0d6a3c14e9
commit 06b035f2ea
2 changed files with 100 additions and 0 deletions

View file

@ -215,6 +215,7 @@ Lint/ShadowingOuterLocalVariable:
# Configuration parameters: AllowComments, AllowNil.
Lint/SuppressedException:
Exclude:
- 'config/initializers/rails6_backports.rb'
- 'lib/foodsoft_config.rb'
- 'lib/tasks/rspec.rake'
@ -1495,6 +1496,7 @@ Style/MultilineBlockChain:
Exclude:
- 'app/helpers/group_orders_helper.rb'
- 'app/models/order.rb'
- 'config/initializers/rails6_backports.rb'
# Offense count: 2
# Cop supports --auto-correct.