Upload more than one image at a time from your API using this Ruby on Rails 7 Active Storage tutorial!
Checkout my course(s) at: https://learn.deanin.com
Source:
https://github.com/Deanout/multiple_a...
This is a topic I've been asked a lot about and it finally worked its way through my todo list. Today we take a look at how to handle attaching multiple images to an active storage model, as well as how to actually get those images.
We handle the "Getting" by retrieving based on individual ID and merging the post with the URLs for each of its attachments.
Join this channel to help support these videos:
/ @deanin
Follow me on social media:
https://linktr.ee/deanin
If you liked this video, please consider subscribing: https://t.co/RZ4EwP0F2a
#Deanin #Software #Programming