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:
= Copiar al portapapeles ¡Copiado!

instalar:
=

Versiones:

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

dependencias de Runtime (2):

activerecord >= 3.0.0
addressable >= 2.2.0

dependencias de Development (3):

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

Propietarios:

Autores:

  • Pickabee

SHA 256 checksum:

bd4f31c6f039818192a21da5d8d15e362f1506d71f3b9ce19f134a04df65a100

Total de descargas 4.173

Para esta versión 4.173

Licencias:

N/A

Versión de Ruby requerida: Ninguno

Enlace: