RubyGems Navigation menu

johnsbrn-classy-inheritance 0.6.6

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:
= In die Zwischenablage kopieren Kopiert!

installieren:
=

Versionen:

  1. 0.6.8.3 - October 24, 2009 (11,5 KB)
  2. 0.6.8.2 - October 24, 2009 (11,5 KB)
  3. 0.6.8.1 - August 11, 2014 (11,5 KB)
  4. 0.6.8 - August 11, 2014 (11 KB)
  5. 0.6.7 - August 11, 2014 (11 KB)
  6. 0.6.6 - August 11, 2014 (11 KB)
Zeige alle Versionen (11 total)

Runtime Abhängigkeiten (1):

bones >= 2.2.0

Besitzer:

Autoren:

  • Andrew Stone

SHA 256-Prüfsumme:

ed100bb7564b15dc20f8a411eeedc8e3c891c383c67268848709d6e8aee57fec

Downloads insgesamt 29.800

Für diese Version 2.390

Lizenzen:

k.A.

Erforderliche Ruby-Version: >= 0

Links: