method

find_attachment

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: CreateOne
find_attachment() 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_one.rb, line 42
      def find_attachment
        if record.public_send("#{name}_blob") == blob
          record.public_send("#{name}_attachment")
        end
      end
Register or log in to add new notes.