What ActiveModel left out
- activemodel
- rails
- models
105,102 visible repositories in the index
1–8 of 8 · Most stars
What ActiveModel left out
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 }
Ruby gem for phone validation and formatting using google libphonenumber library data
Send e-mail straight from forms in Rails with I18n, validations, attachments and request information.
Define enum classes in Rails and use them to enumerate ActiveRecord attributes, with I18n support
Text-based logic question captcha's for Rails 🚫🤖
Hit a million different APIs and combine the results in one simple hash (without pulling your hair out). A simple workflow system to gather aggregate attributes for something.
Replaces Rails PostgreSQL `dbconsole` with the much nicer `pgcli`