Merge pull request #49149 from deepakmahakale/release_notes_7_1/merge_rewhere_deprecated

[skip ci] rewhere argument on #merge deprecated
This commit is contained in:
Ryuta Kamizono 2023-09-05 19:53:04 +09:00 committed by GitHub
commit 1b0ee9f3f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,10 @@
* Deprecate `rewhere` argument on `#merge`.
The `rewhere` argument on `#merge`is deprecated without replacement and
will be removed in Rails 7.2.
*Adam Hess*
* Fix unscope is not working in specific case
Before:

View File

@ -500,6 +500,8 @@ Please refer to the [Changelog][active-record] for detailed changes.
* Deprecate `read_attribute(:id)` returning the primary key if the primary key is not `:id`.
* Deprecate `rewhere` argument on `#merge`.
### Notable changes
* Add `TestFixtures#fixture_paths` to support multiple fixture paths.