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.

Required Ruby Version

None

Authors

Clif Reeder

Versions

  1. 0.0.2
    1. source

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

      1. 0.0.1 source January 16, 2012 (6 KB)

SHA 256 checksum