класс ActiveStorage::Attached
Active Storage Attached
Абстрактный базовый класс для конкретных классов ActiveStorage::Attached::One и ActiveStorage::Attached::Many, которые оба предоставляют прокси-доступ к ассоциации blob для записи.
Атрибуты
name[Ч]
record[Ч]
Публичные методы класса
# File activestorage/lib/active_storage/attached.rb, line 13 def initialize(name, record) @name, @record = name, record end
© 2004–2021 David Heinemeier Hansson
Licensed under the MIT License.