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 } (by igorkasyanchuk)

Active_storage_validations Alternatives

Similar projects and alternatives to active_storage_validations

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better active_storage_validations alternative or higher similarity.

active_storage_validations reviews and mentions

Posts with mentions or reviews of active_storage_validations. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-30.

Stats

Basic active_storage_validations repo stats
3
974
8.5
about 1 month ago

igorkasyanchuk/active_storage_validations is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of active_storage_validations is Ruby.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com