HTTP URL Validator plugin
Plugin details
Documentation
Here’s how you can use it your model:
Class Article < ActiveRecord::Base validates_http_url :url, :content_type => "text/html" validates_http_utl :photo, :content_type => "image" end
This example will make sure the value entered for the url field points to a publicly accessible HTML page, and the photo field points to an image.
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | Back in time (1 older version) | Last edited by: scott, 7 months ago

