Socket
Book a DemoInstallSign in
Socket

aurels-misc_validators

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aurels-misc_validators

bundlerRubygems
Version
0.1
Version published
Maintainers
1
Created
Source

== MiscValidators

A compilation of simple validators we need in most rails apps (AR based).

== Examples

Validation of an email address:

class MyModel < ActiveRecord::Base validates_email :my_email_field end

Validation of an URL:

class MyModel < ActiveRecord::Base validates_url :my_url_field end

== Installation

As a gem:

sudo sources -a http://gems.github.com sudo gem install aurels-misc_validators

As a plugin in your app:

script/plugin install git://github.com/aurels/misc_validators.git

Copyright (c) 2009 Aurélien Malisart, released under the MIT license

FAQs

Package last updated on 11 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.