module ActiveRecord
Backport of github.com/rails/rails/commit/2a0d97bc89fc230241453cbbf55621309e1f3ac6
Backport of github.com/rails/rails/commit/2a0d97bc89fc230241453cbbf55621309e1f3ac6
Backport of github.com/rails/rails/commit/2a0d97bc89fc230241453cbbf55621309e1f3ac6
Backport of github.com/rails/rails/commit/2a0d97bc89fc230241453cbbf55621309e1f3ac6