RubyGems Navigation menu

attribute_delegator 0.0.2

AttributeDelegator provides a class method to ActiveRecord models that dynamically generates getter/setter to treat the attributes of a has_one model like native attributes. This is particularly useful because it allows the delegated attributes to be assigned via model.attributes= {}, such as by a form submission.

Gemfile:
= Copiar al portapapeles ¡Copiado!

instalar:
=

Versiones:

  1. 0.0.2 - January 16, 2012 (6 KB)
  2. 0.0.1 - January 16, 2012 (6 KB)

dependencias de Runtime (2):

activerecord >= 2.3.8
activesupport >= 2.3.8

dependencias de Development (1):

sqlite3 >= 0

Propietarios:

Autores:

  • Clif Reeder

SHA 256 checksum:

63a187dd094b692f9541c2affc8ee0a4ad4e2cf4edb4a5a44828b490d475bda9

Total de descargas 21.224

Para esta versión 17.059

Licencias:

N/A

Versión de Ruby requerida: Ninguno

Enlace: