RubyGems Navigation menu

update_attribute_with_validations 0.1.2

Changes ActiveRecord's update_attribute (singular) method to behave more intuitively and consistently like update_attributes (plural). ActiveRecord's built-in update_attribute (singular) will not check validations on the object before saving, unlike update_attributes (plural), which will.

Gemfile:
= Copiar al portapapeles ¡Copiado!

instalar:
=

Versiones:

  1. 0.1.2 - November 21, 2010 (3,5 KB)
  2. 0.1.1 - November 21, 2010 (3,5 KB)

dependencias de Runtime (1):

activerecord >= 3.0.1

Propietarios:

Autores:

  • Jonathan Garvin

SHA 256 checksum:

159e814d5a934fd09703c0b01a6ac2df173b141adf909e707e4141ff20d0b072

Total de descargas 7.425

Para esta versión 4.275

Licencias:

N/A

Versión de Ruby requerida: Ninguno

Enlace: