1,950 Experience
19 Lessons Completed
0 Questions Solved


Thanks for this

Check if you have rescue from routing error in your routes.rb

Something like this:

Rails.application.routes.draw do
match '*unmatched', to: 'application#route_not_found', via: :all

That prevents active storage path from accessing your stored image in S3, hence the broken image.

Posted in How to use Uppy with ActiveStorage Discussion

I had the same issue and it turned out I put the Upload link outside of the data-uppy="photo[image] div containter.

Make sure you look into the form file in the source code.

Posted in Vue.js Trello Clone in Rails - Part 8 Discussion


Posted in Rails & Vue.js Trello Clone - Part 2 Discussion

that works up until you have more than one component. Then it'll complain rails-ujs is already loaded.
My work around is to add

import Rails from "rails-ujs"

in each script/component.

This is still problematic with Rails 6.0.0rc1