Merge pull request #40985 from kivikakk/find-sole-by-changelog

fix CHANGELOG entry for #40768
This commit is contained in:
Kasper Timm Hansen 2020-12-31 04:57:39 +01:00 committed by GitHub
commit 2a12fe0b12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11,7 +11,7 @@
# => #<Product ...> (if one Product with given price)
# => ActiveRecord::SoleRecordExceeded (if more than one Product with given price)
user.api_keys.find_by_sole(key: key)
user.api_keys.find_sole_by(key: key)
# as above
```