Open hirolibe opened 2 months ago
下記コードで&.attached?は不要なのではないか?
- if current_user.profile&.avatar = image_tag current_user.profile.avatar&.attached?
avatarが存在しているがアタッチされていない状況
下記コードで&.attached?は不要なのではないか?