edge badge

Abstract base class for the concrete ActiveStorage::Attached::One and ActiveStorage::Attached::Many classes that both provide proxy access to the blob association for a record.

Namespace
Methods
N
Attributes
[R] dependent
[R] name
[R] record
Class Public methods
new(name, record, dependent:)
# File activestorage/lib/active_storage/attached.rb, line 12
def initialize(name, record, dependent))
  @name, @record, @dependent = name, record, dependent
end