*About:*

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

thanks,
andy

-- 
Andrew Stone

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to