Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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

misc_validators

  • 0.3
  • Rubygems
  • Socket score

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 from Gemcutter :

sudo gem install misc_validators

As a plugin :

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

== Tests

If you wanna run the tests :

rake spec

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

FAQs

Package last updated on 12 Jan 2010

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc