Adds reflective access to validations
Validation library
Client Side Validations made easy for your Rails 6.1, 7.x, and 8.0 applications
Validations for Active Storage (presence)
Library for performing validations on DM models and pure Ruby object
Validations mixin for Ruby objects and support for Hanami
SimpleForm Plugin for ClientSideValidations
A ruby gem for validating credit card numbers
Integrate the jQuery Validation plugin into the Rails asset pipeline
Databases on Rails. Build a persistent domain model by mapping database tables to Ruby classes. Strong conventions for associations, validations, aggregations, migrations, and testing come baked-in.
A toolkit for building modeling frameworks like Active Record. Rich support for attributes, callbacks, validations, serialization, internationalization, and testing.
Helps creating valid Guard plugins and testing them
Kwalify is a parser, schema validator, and data binding tool for YAML and JSON.
Ruby JSON Schema Validator
A high-level IO library that provides validation, type conversion, and more for command-line interfaces. HighLine also includes a complete menu system that can crank out anything from simple list selection to complete shells with just minutes of work.
A beautiful and powerful interactive command line prompt with a robust API for getting and validating complex inputs.
BlueCloth is a Ruby implementation of John Gruber's Markdown[http://daringfireball.net/projects/markdown/], a text-to-HTML conversion tool for web writers. To quote from the project page: Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML). It borrows a naming convention and several helpings of interface from {Redcloth}[http://redcloth.org/], Why the Lucky Stiff's processor for a similar text-to-HTML conversion syntax called Textile[http://www.textism.com/tools/textile/]. BlueCloth 2 is a complete rewrite using David Parsons' Discount[http://www.pell.portland.or.us/~orc/Code/discount/] library, a C implementation of Markdown. I rewrote it using the extension for speed and accuracy; the original BlueCloth was a straight port from the Perl version that I wrote in a few days for my own use just to avoid having to shell out to Markdown.pl, and it was quite buggy and slow. I apologize to all the good people that sent me patches for it that were never released. Note that the new gem is called 'bluecloth' and the old one 'BlueCloth'. If you have both installed, you can ensure you're loading the new one with the 'gem' directive: # Load the 2.0 version gem 'bluecloth', '>= 2.0.0' # Load the 1.0 version gem 'BlueCloth' require 'bluecloth'
xlsx spreadsheet generation with charts, images, automated column width, customizable styles and full schema validation. Axlsx helps you create beautiful Office Open XML Spreadsheet documents ( Excel, Google Spreadsheets, Numbers, LibreOffice) without having to understand the entire ECMA specification. Check out the README for some examples of how easy it is. Best of all, you can validate your xlsx file before serialization so you know for sure that anything generated is going to load on your client's machine.
Library for validating urls in Rails.
Validations mixin for Ruby objects and support for Lotus
JSON Schema validator. Supports drafts 4, 6, 7, 2019-09, 2020-12, OpenAPI 3.0, and OpenAPI 3.1.
Adds validation methods to ActiveModel for validating dates and times. Works with multiple ORMS.
dry-schema provides a DSL for defining schemas with keys and rules that should be applied to values. It supports coercion, input sanitization, custom types and localized error messages (with or without I18n gem). It's also used as the schema engine in dry-validation.
An email validator for Rails 3+. See homepage for details: http://github.com/K-and-R/email_validator
Google libphonenumber library was taken as a basis for this gem. Gem uses its data file for validations and number formatting.
RSpec matches for Mongoid models, including association and validation matchers.
xlsx spreadsheet generation with charts, images, automated column width, customizable styles and full schema validation. Axlsx helps you create beautiful Office Open XML Spreadsheet documents (Excel, Google Spreadsheets, Numbers, LibreOffice) without having to understand the entire ECMA specification. Check out the README for some examples of how easy it is. Best of all, you can validate your xlsx file before serialization so you know for sure that anything generated is going to load on your client's machine.
SchemaValidations extends ActiveRecord to automatically create validations by inspecting the database schema. This makes your models more DRY as you no longer need to duplicate NOT NULL, unique, numeric and varchar constraints on the model level.
A simple, ORM agnostic, Ruby 1.9 compatible date validator for Rails 3+, based on ActiveModel. Currently supporting :after, :before, :after_or_equal_to and :before_or_equal_to options.
Validate email addresses against RFC 2822 and RFC 3696.
ActiveModel Validation for email
Send e-mail straight from forms in Rails with I18n, validations, attachments and request information.
Validate, generate and format CPF/CNPJ numbers. Include command-line tools.
This Gem adds useful methods to your Rails app to validate, display and save phone numbers.
Compose your business logic into commands that sanitize and validate input.
Membrane provides an easy to use DSL for specifying validation logic declaratively.
sinatra-param allows you to declare, validate, and transform endpoint parameters as you would in frameworks like ActiveModel or DataMapper.
Validatable is a library for adding validations.
A JSON Schema V4 and Hyperschema V4 parser and validator.
This is a Domain Name manipulation library for Ruby. It can also be used for cookie domain validation based on the Public Suffix List.
StripAttributes automatically strips all ActiveRecord model attributes of leading and trailing whitespace before validation. If the attribute is blank, it strips the value to nil.
Licensed automates extracting and validating the licenses of dependencies.
Phone number parsing, validation and formatting.
The EmailAddress Gem to work with and validate email addresses.
GlobalPhone parses, validates, and formats local and international phone numbers according to the E.164 standard using the rules specified in Google's libphonenumber database.
AutoStripAttributes helps to remove unnecessary whitespaces from ActiveRecord or ActiveModel attributes. It's good for removing accidental spaces from user inputs. It works by adding a before_validation hook to the record. It has option to set empty strings to nil or to remove extra spaces inside the string.
SmartProperties are a more flexible and feature-rich alternative to traditional Ruby accessors. They provide support for input conversion, input validation, specifying default values and presence checking.
Robust options validation for methods.
Validate your Rails JSON API's JSON
CouchRest Model provides aditional features to the standard CouchRest Document class such as properties, view designs, associations, callbacks, typecasting and validations.