method
find_attachment
v7.1.3.4 -
Show latest stable
- Class:
ActiveStorage::Attached::Changes::CreateOne
find_attachment()private
No documentation available.
# File activestorage/lib/active_storage/attached/changes/create_one.rb, line 58
def find_attachment
if record.public_send("#{name}_blob") == blob
record.public_send("#{name}_attachment")
end
end