Need help with trix editor and uploads - attachments


Just upgraded from rails5 to 6. Trix Editor and Active Storage is working, but my attachments are not getting saved. I can add them via the paperclip and via drag and drop, but cant see any file related params in the console. It was my understanding that the upload magic happens in the background - do I need any JS code to get the uploads going and if so, which route should i be using? then one of the resource itself?


I faced a similar issue recently, and I had to install the VIPS library to get the file upload working. Not sure if it’s the same issue for you, but hope that helps.

my issue is that i dont see the blob being upload upon hitting the save button. only the regular hash param values…

<%= f.rich_text_area :body2 %> has_rich_text :body2