When previewing PDF files that were uploaded through Active Storage, we can only get a simple image of the first page. In this episode, we'll look at taking the uploaded PDFs and interacting with them.
► Full Episode - https://www.driftingruby.com/episodes...
00:00 - Introduction
02:32 - Setting up the application
03:42 - Setting up the view
07:40 - Setting up the stimulus controller
16:47 - Testing. the PDF reader
17:23 - Fixing a bug
17:36 - Demo
18:12 - Final Thoughts
This episode is sponsored by Honeybadger (https://www.honeybadger.io/)
► Visit the Merchandise Store - https://www.railsstore.com/
► Ruby on Rails Templates - https://www.rubidium.io
► Subscribe to Drifting Ruby at https://www.driftingruby.com/subscrip...
#ruby #rubyonrails #programming #code #hotwire #javascript #development