Registry / other / validate-url

validate-url

JSON →
library1.0.15rbrubygemsunverified

Library for validating URLs in Rails applications.

gem install validate_url
INSTALL
IMPORT
SIG · VALIDATE-URL
V
validate-url
otherrubyv1.0.15
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ValidateURL
require 'validate_url'

Add URL validation to a Rails model

require 'validate_url' class MyModel < ActiveRecord::Base validates :website, url: true end
Debug
Known issues
gotchaOnly works with ActiveModel validations
fix
Ensure your model includes ActiveModel::Validations
affects: >= 1.0.0
Upgrade
Version history
1.0.15latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Amazon
1
Resources
validate-url — gem install validate-url · libregistry