Skip to content

Commit 2717b08

Browse files
committed
fix CHANGELOG entry for rails#40768
1 parent e19f95f commit 2717b08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# => #<Product ...> (if one Product with given price)
1212
# => ActiveRecord::SoleRecordExceeded (if more than one Product with given price)
1313

14-
user.api_keys.find_by_sole(key: key)
14+
user.api_keys.find_sole_by(key: key)
1515
# as above
1616
```
1717

0 commit comments

Comments
 (0)