Fix Rails 5.2.1 compatibility for this commit in ActiveRecord 5.2.1: https://github.com/rails/rails/commit/6edf354b656ec556c3573402019504a519531953#diff-c47e1c26ae8a3d486119e0cc91f40a30
Fix Rails 5.2.1 compatibility for this commit in ActiveRecord 5.2.1: https://github.com/rails/rails/commit/6edf354b656ec556c3573402019504a519531953#diff-c47e1c26ae8a3d486119e0cc91f40a30

rspec/rspec-activemodel-mocks,rspec/rspec-activemodel-mocks