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

logo Created with Sketch.

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

© 2022 GoRails, LLC. All rights reserved.