6

ActiveStorage creates 2 tables active_storage_blobs and active_storage_attachments. I wonder if there is a way to access them easily through Rails console (i.e. schema migration internal table can be accessed by ActiveRecord::SchemaMigration)?

alexs333
  • 10,543
  • 9
  • 46
  • 82

1 Answers1

12

Rails is open source, fwiw.

Looks like it’d be ActiveStorage::Blob and ActiveStorage::Attachment.

alexs333
  • 10,543
  • 9
  • 46
  • 82
Aleksei Matiushkin
  • 105,980
  • 9
  • 87
  • 132