method

new

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: CreateMany
new(name, record, attachables, pending_uploads: []) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activestorage/lib/active_storage/attached/changes/create_many.rb, line 7 def initialize(name, record, attachables, pending_uploads: []) @name, @record, @attachables = name, record, Array(attachables) blobs.each(&:identify_without_saving) @pending_uploads = Array(pending_uploads) + subchanges_without_blobs attachments end
Register or log in to add new notes.