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:
=

安裝:
=

版本列表:

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

Runtime 相依性套件 (2):

activerecord >= 2.3.8
activesupport >= 2.3.8

Development 相依性套件 (1):

sqlite3 >= 0

擁有者:

作者:

  • Clif Reeder

SHA 256 總和檢查碼:

=

總下載次數 21,629

這個版本 17,244

版本发布:

授權:

Ruby 版本需求:

相關連結: