Classy Inheritance: Release 0.4.0

Support for standard Rails association options.
Added by Andrew Stone 197 days ago

Classy inheritance now adds support for the standard Rails association options.

If your depends_on call includes the :as attribute, the Rails association used is has_one, otherwise it's belongs_to.

So, you can now add options such as :dependent and :class_name.

As there are multiple option combination choices, I haven't tested them all. So, please let me know if you run into an issue.


Comments