Uploading User picture to Rails API and React App. #part 1

  • active_storage_blobs ,
  • active_storage_attachments.
  • a model’s class name that have an attachment (“record_type” column),
  • id of instance of the model (“record_id” column),
  • id of blob attachment (“blob_id” column)

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store