method

persisted_or_new_attachments

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: CreateMany
persisted_or_new_attachments() private

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 52
      def persisted_or_new_attachments
        attachments.select { |attachment| attachment.persisted? || attachment.new_record? }
      end
Register or log in to add new notes.