Skip to content

Commit e7eac0a

Browse files
authored
Merge pull request rails#42706 from nadrooJ/fix-record-not-destroyed-docs-typo
Fix link to incorrect method in API docs
2 parents 398561b + 385c4a0 commit e7eac0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/lib/active_record/errors.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def initialize(message = nil, record = nil)
100100
end
101101

102102
# Raised by {ActiveRecord::Base#destroy!}[rdoc-ref:Persistence#destroy!]
103-
# when a call to {#destroy}[rdoc-ref:Persistence#destroy!]
103+
# when a call to {#destroy}[rdoc-ref:Persistence#destroy]
104104
# would return false.
105105
#
106106
# begin

0 commit comments

Comments
 (0)