Method: ActiveStorage::Reflection::ActiveRecordExtensions::ClassMethods#reflect_on_all_attachments

Defined in:
activestorage/lib/active_storage/reflection.rb

#reflect_on_all_attachmentsObject

Returns an array of reflection objects for all the attachments in the class.



59
60
61
# File 'activestorage/lib/active_storage/reflection.rb', line 59

def reflect_on_all_attachments
  attachment_reflections.values
end