Categories: None [Edit]

johnsbrn-classy-inheritance

https://rubygems.org/gems/johnsbrn-classy-inheritance
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.

Total

Ranking: 38,468 of 192,085
Downloads: 32,887

Daily

Ranking: 153,501 of 192,065
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
9,164379,907bones

Owners

#GravatarHandle
1icon#1757