RubyGems Navigation menu

has_url 1.0.0

Adds validations on URL attributes for ActiveRecord models. URL scheme will be checked and added before updating the database if necessary. A raw_attribute method will also be added to display the url without HTTP(S) scheme or trailing slash.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.0.0 - June 19, 2012 (7 KB)

Runtime Dependencies (2):

activerecord >= 3.0.0
addressable >= 2.2.0

Development Dependencies (3):

rake >= 0
shoulda >= 3.0.0
sqlite3 >= 0

Owners:

Authors:

  • Pickabee

SHA 256 checksum:

bd4f31c6f039818192a21da5d8d15e362f1506d71f3b9ce19f134a04df65a100

Total downloads 4,155

For this version 4,155

Licenses:

N/A

Required Ruby Version: None

Links: