0.0
No commit activity in last 3 years
No release in over 3 years
Validate inputs (Files/Email/Passwords)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

RubyGems

https://rubygems.org/gems/rails-validator

Description

Gem to validate files, emails and passwords input

Returns boolean result of true or false

Installation

Add this to your Gemfile

gem 'rails-validator

Usage

Call the gem wherever you need to validate some input

RailsValidator.validate_file(file_name, file_size)

RailsValidator.validate_email(email)

RailsValidator.validate_password(password)

License

RailsValidator is released under the MIT License