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 }
☆1,018Updated last week
Related projects ⓘ
Alternatives and complementary repositories for active_storage_validations
- Monitor performance of you Rails applications (self-hosted and free)☆999Updated this week
- Authorization framework for Ruby/Rails applications☆1,421Updated last month
- Make any Ruby object quack like ActiveRecord☆1,089Updated this week
- A simple and fast JSON API template engine for Ruby on Rails☆1,288Updated last month
- Identify database issues before they hit production.☆1,763Updated this week
- Adds typed jsonb backed fields to your ActiveRecord models.☆1,108Updated 7 months ago
- Simple, Fast, and Declarative Serialization Library for Ruby☆1,136Updated this week
- Modern encryption for Ruby and Rails☆1,454Updated 2 weeks ago
- Pluggable Ruby translation framework☆1,005Updated 2 months ago
- Just the right amount of Rails eager loading☆1,608Updated 2 weeks ago
- Turbo-charged counter caches for your Rails app.☆1,957Updated 2 weeks ago
- A RuboCop extension focused on enforcing Rails best practices and coding conventions.☆819Updated last week
- Alba is a JSON serializer for Ruby, JRuby and TruffleRuby.☆940Updated this week
- Prevents duplicate Sidekiq jobs☆1,471Updated 2 weeks ago
- Adds additional postgres functionality to an ActiveRecord / Rails application☆1,309Updated last week
- Database changes log for Rails☆1,607Updated 2 weeks ago
- Squasher - squash your old migrations in a single command☆1,493Updated 6 months ago
- Integration of RubyMoney - Money with Rails☆1,802Updated 4 months ago
- The tool to avoid various issues due to inconsistencies and inefficiencies between a database schema and application models.☆1,060Updated last month
- A Rails plugin to provide templates for the axlsx gem☆743Updated last month
- 🃏🗑 Soft deletes for ActiveRecord done right☆2,150Updated this week
- Log in as another user in Rails☆1,312Updated this week
- A collection of lightweight, standardized, rails-oriented patterns.☆708Updated 2 months ago
- High-level image processing wrapper for libvips and ImageMagick/GraphicsMagick☆868Updated 2 months ago
- Barebones two-factor authentication with Devise☆1,217Updated 3 weeks ago
- Lightweight job scheduler extension for Sidekiq☆1,712Updated last month
- A security extension for devise, meeting industry-standard security demands for web applications.☆590Updated last month
- Work with JSON-backed attributes as ActiveRecord-ish models☆1,082Updated this week
- A Ruby gem to transform HTML into PDFs, PNGs or JPEGs using Google Puppeteer/Chromium☆931Updated 3 weeks ago
- Easy multi-tenancy for Rails in a shared database setup.☆1,567Updated 2 months ago