View Code? Open in Web Editor
NEW
This 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
Ruby 92.74%
HTML 6.80%
Shell 0.45%
active_storage_validations's Introduction
👋 Hi there! This is Juan Vásquez
An overview about me:
- I'm from México 🇲🇽
- My favorite dish is the tlayuda in this place
- I've been working as a software engineer for a long time
- Currently working at OmbuLabs, we are hiring if you are interested.
Let's connect on twitter if have a question or want to share something with me 👍
➡️ more blog posts...
active_storage_validations's People