method
new
v7.0.0 -
Show latest stable
- Class:
ActiveStorage::Attached::Changes::CreateMany
new(name, record, attachables)public
No documentation available.
# File activestorage/lib/active_storage/attached/changes/create_many.rb, line 7
def initialize(name, record, attachables)
@name, @record, @attachables = name, record, Array(attachables)
blobs.each(&:identify_without_saving)
attachments
end