You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my Rails project, I encountered an issue related to handling attachments. Specifically, when accessing a page that invokes an attachment from Active Storage using (e.g <%= user.avatar %>), an error occurred.
Hello! I'm having the same problem but this workaround doesn't fit very well into our system since we get this errors from a GraphQL endpoint on which you would need to introspect the query to know if it's dealing with files.
In my Rails project, I encountered an issue related to handling attachments. Specifically, when accessing a page that invokes an attachment from Active Storage using (e.g
<%= user.avatar %>
), an error occurred.This issue arose due to Rails generating a URL every time it accesses the Active Storage attachment.
"GET /uploads/disk/active_storage_long_key/avatar1.jpg"
To resolve this, I modified the configuration in the
config/initializers/debugbar.rb
file to ignore/uploads
, which successfully resolved the issueThe text was updated successfully, but these errors were encountered: