Skip to content

Commit b60cf01

Browse files
authored
Merge pull request rails#52647 from jdelStrother/activestorage-docs
Fix copy-paste error in ActiveStorage docs [ci skip]
2 parents 18fcbd9 + 783b2b2 commit b60cf01

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

activestorage/lib/active_storage/attached/model.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def #{name}=(attachable)
173173
# and +photos_blobs+. But you shouldn't need to work with these associations directly in
174174
# most circumstances.
175175
#
176-
# Instead, +has_one_attached+ generates an ActiveStorage::Attached::Many proxy to
176+
# Instead, +has_many_attached+ generates an ActiveStorage::Attached::Many proxy to
177177
# provide access to the associations and factory methods, like +attach+:
178178
#
179179
# user.photos.attach(uploaded_file)

0 commit comments

Comments
 (0)