Skip to content

Commit 1790ef9

Browse files
authored
[docs] Use 'raises' to describe behaviour in CollectionProxy#find
1 parent 2a9573c commit 1790ef9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/lib/active_record/associations/collection_proxy.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def loaded?
110110
# # ]
111111

112112
# Finds an object in the collection responding to the +id+. Uses the same
113-
# rules as ActiveRecord::FinderMethods.find. Returns ActiveRecord::RecordNotFound
113+
# rules as ActiveRecord::FinderMethods.find. Raises ActiveRecord::RecordNotFound
114114
# error if the object cannot be found.
115115
#
116116
# class Person < ActiveRecord::Base

0 commit comments

Comments
 (0)