From d4f014b927e215f32c2a11839962561b8bd5f50d Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 24 Jul 2017 12:05:23 -0500 Subject: Start on docs for lib --- lib/active_storage/attached.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/active_storage/attached.rb') 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 -- cgit v1.2.3