Skip to content

Commit a10ff7b

Browse files
authored
Minor grammar tweak in ActiveStorage::Attached::Model docs
1 parent 8bf7a3d commit a10ff7b

File tree

1 file changed

+4
-4
lines changed
  • activestorage/lib/active_storage/attached

1 file changed

+4
-4
lines changed

activestorage/lib/active_storage/attached/model.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ module Attached::Model
6161
# There is no column defined on the model side, Active Storage takes
6262
# care of the mapping between your records and the attachment.
6363
#
64-
# Under the covers, this relationship is implemented as a +has_one+ association to a
65-
# ActiveStorage::Attachment record and a +has_one-through+ association to a
64+
# Under the covers, this relationship is implemented as a +has_one+ association to an
65+
# ActiveStorage::Attachment record and a +has_one-through+ association to an
6666
# ActiveStorage::Blob record. These associations are available as +avatar_attachment+
6767
# and +avatar_blob+. But you shouldn't need to work with these associations directly in
6868
# most circumstances.
@@ -163,8 +163,8 @@ def #{name}=(attachable)
163163
# There are no columns defined on the model side, Active Storage takes
164164
# care of the mapping between your records and the attachments.
165165
#
166-
# Under the covers, this relationship is implemented as a +has_many+ association to a
167-
# ActiveStorage::Attachment record and a +has_many-through+ association to a
166+
# Under the covers, this relationship is implemented as a +has_many+ association to an
167+
# ActiveStorage::Attachment record and a +has_many-through+ association to an
168168
# ActiveStorage::Blob record. These associations are available as +photos_attachments+
169169
# and +photos_blobs+. But you shouldn't need to work with these associations directly in
170170
# most circumstances.

0 commit comments

Comments
 (0)