Skip to content

Commit 7f58b74

Browse files
committed
Update docs for ActiveRecord::AttributeMethods#[]=
The docs incorrectly claimed that write_attribute is protected despite the method being public.
1 parent e76f978 commit 7f58b74

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

activerecord/lib/active_record/attribute_methods.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,6 @@ def [](attr_name)
332332
end
333333

334334
# Updates the attribute identified by <tt>attr_name</tt> with the specified +value+.
335-
# (Alias for the protected #write_attribute method).
336335
#
337336
# class Person < ActiveRecord::Base
338337
# end

0 commit comments

Comments
 (0)