Skip to content

Commit 72bdb42

Browse files
authored
Remove wrong document due to refactoring attribute
The refactoring is done at rails#44666
1 parent de4d874 commit 72bdb42

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

activerecord/lib/active_record/attributes.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,7 @@ module ClassMethods
210210
#--
211211
# Implemented by ActiveModel::AttributeRegistration#attribute.
212212

213-
# This is the low level API which sits beneath +attribute+. It only
214-
# accepts type objects, and will do its work immediately instead of
213+
# This API only accepts type objects, and will do its work immediately instead of
215214
# waiting for the schema to load. While this method
216215
# is provided so it can be used by plugin authors, application code
217216
# should probably use ClassMethods#attribute.

0 commit comments

Comments
 (0)