Skip to content

Commit 1b0ee9f

Browse files
authored
Merge pull request rails#49149 from deepakmahakale/release_notes_7_1/merge_rewhere_deprecated
[skip ci] rewhere argument on #merge deprecated
2 parents cf10924 + ba7def2 commit 1b0ee9f

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

activerecord/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
* Deprecate `rewhere` argument on `#merge`.
2+
3+
The `rewhere` argument on `#merge`is deprecated without replacement and
4+
will be removed in Rails 7.2.
5+
6+
*Adam Hess*
7+
18
* Fix unscope is not working in specific case
29

310
Before:

guides/source/7_1_release_notes.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,8 @@ Please refer to the [Changelog][active-record] for detailed changes.
500500

501501
* Deprecate `read_attribute(:id)` returning the primary key if the primary key is not `:id`.
502502

503+
* Deprecate `rewhere` argument on `#merge`.
504+
503505
### Notable changes
504506

505507
* Add `TestFixtures#fixture_paths` to support multiple fixture paths.

0 commit comments

Comments
 (0)