method
persisted_or_new_attachments
rails latest stable - Class:
ActiveStorage::Attached::Changes::CreateMany
persisted_or_new_attachments()private
No documentation available.
# File activestorage/lib/active_storage/attached/changes/create_many.rb, line 52
def persisted_or_new_attachments
attachments.select { |attachment| attachment.persisted? || attachment.new_record? }
end