Skip to content

Commit

Permalink
Remove wrong document due to refactoring attribute
Browse files Browse the repository at this point in the history
The refactoring is done at rails#44666
  • Loading branch information
aeroastro authored Jun 24, 2024
1 parent de4d874 commit 72bdb42
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions activerecord/lib/active_record/attributes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,7 @@ module ClassMethods
#--
# Implemented by ActiveModel::AttributeRegistration#attribute.

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

0 comments on commit 72bdb42

Please sign in to comment.