We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e5d3d78 + 43ff986 commit 92a5a96Copy full SHA for 92a5a96
activerecord/lib/active_record/relation.rb
@@ -164,8 +164,8 @@ def first_or_initialize(attributes = nil, &block) # :nodoc:
164
#
165
# If creation failed because of a unique constraint, this method will
166
# assume it encountered a race condition and will try finding the record
167
- # once more If somehow the second find still find no record because a
168
- # concurrent DELETE happened, it will then raise an
+ # once more. If somehow the second find still does not find a record
+ # because a concurrent DELETE happened, it will then raise an
169
# ActiveRecord::RecordNotFound exception.
170
171
# Please note <b>this method is not atomic</b>, it runs first a SELECT,
0 commit comments