git
01igorkasyanchuk/active_storage_validations
Cursor rule Cursor
Conventional commit message format for git commits.
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 }
Active Storage Validations is a Ruby gem for adding validation rules to files attached through Rails Active Storage. Rails developers use it to check whether uploaded images, videos, audio files, PDFs, and other attachments meet requirements such as type, size, dimensions, duration, or quantity.
This repository also configures its own agents. See what active_storage_validations tells them →
igorkasyanchuk/active_storage_validations
Cursor rule Cursor
Conventional commit message format for git commits.
igorkasyanchuk/active_storage_validations
Cursor rule Cursor
Conventions for analyzer specs.
igorkasyanchuk/active_storage_validations
Cursor rule Cursor
Conventions for integration specs.
igorkasyanchuk/active_storage_validations
Cursor rule Cursor
Conventions for matcher specs.
igorkasyanchuk/active_storage_validations
Cursor rule Cursor
Conventions for validator specs.
igorkasyanchuk/active_storage_validations
Cursor rule Cursor
Shared RSpec conventions for the gem suite.
At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: