Merge pull request #40985 from kivikakk/find-sole-by-changelog
fix CHANGELOG entry for #40768
This commit is contained in:
commit
2a12fe0b12
@ -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
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user