active_storage_validations

active_storage_validations

igorkasyanchuk

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 }

860 Stars
113 Forks
860 Watchers
Ruby Language
mit License
Cost to Build
$51.5K
Market Value
$126.8K

Growth over time

6 data points  ·  2021-08-01 → 2023-03-01
Stars Forks Watchers
💬

How do you feel about this project?

Ask AI about active_storage_validations

Question copied to clipboard

What is the igorkasyanchuk/active_storage_validations GitHub project? 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 }". Written in Ruby. Explain what it does, its main use cases, key features, and who would benefit from using it.

Question is copied to clipboard — paste it after the AI opens.

How to clone active_storage_validations

Clone via HTTPS

git clone https://github.com/igorkasyanchuk/active_storage_validations.git

Clone via SSH

[email protected]:igorkasyanchuk/active_storage_validations.git

Download ZIP

Download master.zip

Found an issue?

Report bugs or request features on the active_storage_validations issue tracker:

Open GitHub Issues