- ๐ He/Him
- ๐ I'm from Fortaleza, Ceara, Brazil.
- ๐ Currently living in Braga, Portugal.
โฆ๏ธ Ruby on Rails developer- ๐ซ You can reach me: [email protected]
luiseugenio / active_storage_validations Goto Github PK
View Code? Open in Web Editor NEWThis project forked from igorkasyanchuk/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 }
Home Page: https://www.railsjazz.com/
License: MIT License