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.

Gemfile:
= クリップボードにコピー コピー完了!

インストール:
=

バージョン履歴:

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

Runtime依存関係 (2):

activerecord >= 2.3.8
activesupport >= 2.3.8

Development依存関係 (1):

sqlite3 >= 0

所有者:

作者:

  • Clif Reeder

SHA 256チェックサム:

181bf437e5632855ab158dd008600a0bc30f47fa6ada196433732d10e96c5de0

累計ダウンロード数 21,215

このバージョンのみ 4,162

ライセンス:

N/A

必要なRubyのバージョン: なし

リンク: