RubyGems Navigation menu

attribute_delegator 0.0.1

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.

Versions:

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

Development Dependencies:

Authors:

  • Clif Reeder

Owners:

0d19ef58f9c0639359101db8555ae028

Sha 256 checksum:

181bf437e5632855ab158dd008600a0bc30f47fa6ada196433732d10e96c5de0

Total downloads 4,444

For this version 1,637

Required Ruby Version: None

Licenses:

N/A

Gemfile:
= Copy to clipboard Copied!

install:
= Copy to clipboard Copied!

Links: