Package · RubyGems

active_storage_validations

RubyGems · v4.1.1 · MIT

Validations for Active Storage (presence, size, content type, ...)

Install

gem install active_storage_validations

Adoption

All-time downloads
31.3M
Observeddownloads, all time
Popularity
Top 50% on RubyGems
Derived55th percentile within RubyGems
Dependents
9
Observedpackages that depend on it
Maintenance
0.79
DerivedRelease cadence and recency, 0 to 1
Releases per year
8.1
65 versions over its life

Growth by period

Derived by Crest of Tech from two observations of RubyGems’s own figure, a period apart. Nothing is stored or estimated: without an observation near the period’s start, the period is still collecting.

7 days
Collectinghistory
Collecting
30 days
Collectinghistory
Collecting
90 days
Collectinghistory
Collecting
1 year
Collectinghistory
Collecting

Adoption history

Adoption historydownloads, all time

Observations in this range began OCT 6, 2026. The chart appears after 7 observations; 2 so far. Collecting history.

Table of observations (2)
Daydownloads, all timeDependents
OCT 24, 202631,298,5429
OCT 6, 202630,694,167Not observed

Facts from the registry

Latest version
v4.1.1
65 versions
First published
AUG 28, 2018
Last release
SEP 2, 2026
52d ago
Licence
MIT

Repository

In the Crest catalog

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 }

Stars
1.2K
Forks
150
Language
Ruby
Last push
22d ago
Last release
42d ago

Linked by the package’s own registry metadata.GitHub (opens in a new tab)

Dependencies latest version · v4.1.1

Runtime 5

  • activejob>= 7.0.1
  • activemodel>= 7.0.1
  • activestorage>= 7.0.1
  • activesupport>= 7.0.1
  • marcel>= 1.0.3

Related news

No published news event mentions this package or its repository yet.