0.01
No commit activity in last 3 years
No release in over 3 years
URI validation for ActiveModel
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0.8.7

Runtime

 Project Readme

uri_validator

Validates uri format using regexp

Installation

gem "uri_validator"

Usage

class Product < ActiveRecord::Base
  validates :video, :uri => true # default protocols are http and https
  validates :manual, :uri => %w(http https ftp)
end

License

Copyright (c) 2009-2012 nohup brasil, released under the MIT license