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
{{ message }}
Instantly share code, notes, and snippets.
🏠
Working from home
Jorge Tomas
jotolo
🏠
Working from home
I like learning new technologies but what I love the most is using them.I am very interested in challenging myself and I face up every task as a new challenge.
Simple AWS ECS status update notifications to Slack webhook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rails 7.0 - How to fix "DEPRECATION WARNING: image/jpg is not a valid content type"
Rails 7.0 - How to fix "DEPRECATION WARNING: image/jpg is not a valid content type"
Problem
I got the following message when I updated my app to Rails 7.0.
DEPRECATION WARNING: image/jpg is not a valid content type, it should not be used when creating a blob, and support for it will be removed in Rails 7.1. If you want to keep supporting this content type past Rails 7.1, add it to `config.active_storage.variable_content_types`. Dismiss this warning by setting `config.active_storage.silence_invalid_content_types_warning = true`. (called from public_send at /Users/jnito/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/factory_bot-6.2.0/lib/factory_bot/attribute_assigner.rb:16)