mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fix CHANGELOG entry for #40768
This commit is contained in:
parent
e19f95f219
commit
2717b08f76
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
||||||
# => #<Product ...> (if one Product with given price)
|
# => #<Product ...> (if one Product with given price)
|
||||||
# => ActiveRecord::SoleRecordExceeded (if more than 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
|
# as above
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue