Repository: NARKOZ/active_storage_validations
Description: 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 }
Language: Ruby
License: MIT License
Stars: 1.0 | Forks: 0.0 | Open issues: 0.0
Created: 2022-02-10 12:21:30
Owner: NARKOZ (Ukraine)