# \[ANN\] Classy Inheritance Rel. 0.6.2

**URL:** <https://www.ruby-forum.com/t/ann-classy-inheritance-rel-0-6-2/149550>\
**Category:** Rails\
**Created:** [September 26, 2008, 4:00am UTC](https://www.ruby-forum.com/t/ann-classy-inheritance-rel-0-6-2/149550 "2008-09-26T04:00:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![starmaerker](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e9bcb4/32.png) [@starmaerker](https://www.ruby-forum.com/u/starmaerker)\
**Post date:** [September 26, 2008, 4:00am UTC](https://www.ruby-forum.com/t/ann-classy-inheritance-rel-0-6-2/149550/1 "2008-09-26T04:00:44Z")

</div>

_About:_

[http://stonean.com/wiki/classy-inheritance](http://stonean.com/wiki/classy-inheritance)

Classy Inheritance simplifies the definition and implementation of one  
object depending on another object. For example, a User object  
depending on  
a Person object. If you do the following:

class User \< ActiveRecord::Base

depends\_on :person, :attrs =\> [:first\_name, :last\_name, :email]

end

You will get @user.first\_name, @user.last\_name and @user.email  
functionality. So, direct usage of these attributes can be used on your  
form and the Person associated is created/maintained for you. e.g.:

\<% text\_field :user, :first\_name %\>

Classy Inheritance also supports polymorphic associations, more info on  
the  
wiki.

_In this release_:

Added back in the validates associated override to provide more  
meaningful  
error messages.  
There’s a wiki, forum and issue tracking for Classy Inheritance at  
[http://stonean.com](http://stonean.com)

thanks,  
andy

–  
Andrew S.
