Debugging & Fixing a Bug in Rails 5.2 Active Storage Discussion
I've been struggling with the idea of combining ActiveStorage and a rich-text editor. Do you have any suggestions? I planned to use Ckeditor and it's not working yet. I've defined the active_storage.rb inside
app/models/active_storage.rb and added some custom codes to use ActiveStorage instead of some other like Paperclip, Carrierwave, Dragonfly, etc that Ckeditor 's already supported. The problem is the uploader is not working through ActiveStorage yet.
Sometimes your application goes wrong. Fortunately there are a lot of tools that will help you debug it and get it back on the rails.
First area to check is the application log files. Have “tail -f” commands running on the server.log and development.log. Rails will automatically display debugging and runtime information to these files. Debugging info will also be shown in the browser on requests from 127.0.0.1.