Module: Perfectline::ValidatesUrl::Rails3::ClassMethods

Defined in:
lib/validates_url.rb

Instance Method Summary collapse

Instance Method Details

#validates_url(*attr_names) ⇒ Object



67
68
69
# File 'lib/validates_url.rb', line 67

def validates_url(*attr_names)
  validates_with UrlValidator, _merge_attributes(attr_names)
end