aboutsummaryrefslogtreecommitdiffstats
path: root/lib/active_storage/attached.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/active_storage/attached.rb')
-rw-r--r--lib/active_storage/attached.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/active_storage/attached.rb b/lib/active_storage/attached.rb
index 6b81545897..8bec129a1a 100644
--- a/lib/active_storage/attached.rb
+++ b/lib/active_storage/attached.rb
@@ -4,6 +4,8 @@ require "active_storage/attachment"
require "action_dispatch/http/upload"
require "active_support/core_ext/module/delegation"
+# Abstract baseclass for the particular `ActiveStorage::Attached::One` and `ActiveStorage::Attached::Many`
+# classes that both provide proxy access to the blob association for a record.
class ActiveStorage::Attached
attr_reader :name, :record