Skip to content

Commit

Permalink
Merge pull request rails#52207 from aeroastro/patch-1
Browse files Browse the repository at this point in the history
[DOC] Remove wrong document due to refactoring `attribute`
  • Loading branch information
skipkayhil authored Sep 24, 2024
2 parents dee911b + 72bdb42 commit f4d0a8e
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 @@ -212,8 +212,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 f4d0a8e

Please sign in to comment.