RubyGems Navigation menu

classy-inheritance 0.7.0

Classy Inheritance adds a depends_on class method to your ActiveRecord model so that you can define requisite objects. This functionality is provided using the existing ActiveRecord methods without monkey patching any core code. Essentially, it provides an easy interface to generate code that anyone could add to their model to receive the same result. Depending on the parameters to your depends_on call, it may add some of the following methods: validates_presence_of, validates_associated, has_one or belongs_to.

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 0.7.0 - April 11, 2009* (21.5 KB)
  2. 0.6.4 - February 06, 2009* (19.5 KB)
  3. 0.6.2 - September 25, 2008* (30.5 KB)
  4. 0.6.1 - July 21, 2008* (30.5 KB)
  5. 0.6.0 - July 18, 2008* (30.5 KB)
显示所有版本 (共 16 个)

Development 依赖 (1):

bones >= 2.4.2

业主:

作者:

  • Andrew Stone

SHA 256 校验和:

80159a82f20c72b7904f4d86e1ca7670f30fd549f4131fe8b7e2609725c50d3a

下载总量 70,135

这个版本 7,036

许可:

需要的 Ruby 版本:

链接: