------art_13289_32734560.1137773209543
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Assume the following structure:

class Base
end

class Account < Base
end

class Opportunity < Base
end


I want to have a class variable Account.fields that is different than
Opportunity.fields, so that all instances of Account can reference the
Account.fields and all instances if Opportunity can reference
Opportunity.fields and get the correct results.

As a reference, I am trying to create something akin to ActiveRecord (for a
different type of datasource) where each distinct object has it's own set of
attributes. I've been looking at the ActiveRecord code, but being new to
Ruby it's giving me a bit of a headache :)

Thanks!

Todd Breiholz

------art_13289_32734560.1137773209543--