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.
Required Ruby Version
None
Authors
Andrew Stone
Versions
-
0.6.8.3
-
source
- 0.6.8.3 source October 24, 2009 (11.5 KB)
-
-
0.6.8.2
-
source
- 0.6.8.2 source October 24, 2009 (11.5 KB)
-
-
0.6.8.1
-
source
- 0.6.8.1 source August 11, 2014 (11.5 KB)
-
-
0.6.8
-
source
- 0.6.8 source August 11, 2014 (11 KB)
-
-
0.6.7
-
source
- 0.6.7 source August 11, 2014 (11 KB)
-