Revert "Immediate avatar and embed variants"

This commit is contained in:
Jorge Manrubia
2025-12-07 12:06:03 +01:00
committed by GitHub
parent 7fe22b5767
commit c8c91259c7
9 changed files with 17 additions and 59 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ module User::Avatar
included do
has_one_attached :avatar do |attachable|
attachable.variant :thumb, resize_to_fill: [ 256, 256 ], process: :immediately
attachable.variant :thumb, resize_to_fill: [ 256, 256 ]
end
validate :avatar_content_type_allowed