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 }

1.2k Stars
148 Forks
1.2k Watchers
Ruby Language
mit License
100 SrcLog Score
Cost to Build
$157.2K
Market Value
$676.0K

Growth over time

7 data points  ·  2021-08-01 → 2026-04-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