Integrate Shrine Images Into Avo Admin for Ruby on Rails
Working on a little Ruby on Rails side project for the first time in a long time, I learned about Avo Admin , which is a super-quick way to provide administrative management of your model data sets. If you had previously used (like me) Active Admin or similar, you'll be shocked at how good Avo looks & works. Avo leverages ActiveStorage for file uploads and does not natively support third-party solutions like Shrine . However, I did see a closed Github issue that touches on this topic and the reccomendation was to use a custom field to approach this integration. A bit leery of going down a rabbit hole, I took a peek at the documentation for custom fields and figured I could fail pretty fast at least. Well the good news is, I didn't fail! In fact, it was super fast to do this integration with Avo and Shrine, so much so I figured a blog post for the Internet searchers among us may be of merit. Caveat emptor that this may be an ugly approach - I have no idea - bu...