GitHub / betagouv / active_storage_validations
Do it like => validates :photos, attached: true, content_type: ['image/png', 'image/jpg', 'image/jpeg'], size: { less_than: 500.kilobytes }, limit: { min: 1, max: 3 }, aspect_ratio: :landscape, dimension: { width: { in: 800..1600 }
Fork de igorkasyanchuk/active_storage_validations
étoiles: 0
forks: 0
issues ouvertes: 0
licence: mit
langage: Ruby
taille: 943 ko
dépendances analysées: En attente
date de création: il y a presque 4 ans
date de mise à jour: il y a presque 4 ans
enregistré: il y a presque 4 ans
dernière synchronisation: il y a 5 jours
Funding Links https://patreon.com/igorkasyanchuk