Skip to content

Commit f4d0a8e

Browse files
authored
Merge pull request rails#52207 from aeroastro/patch-1
[DOC] Remove wrong document due to refactoring `attribute`
2 parents dee911b + 72bdb42 commit f4d0a8e

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
@@ -212,8 +212,7 @@ module ClassMethods
212212
#--
213213
# Implemented by ActiveModel::AttributeRegistration#attribute.
214214

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

0 commit comments

Comments
 (0)