Displaying 1 result from an estimated 1 matches for "of_typ".
Did you mean:
os_typ
2006 Mar 08
0
combining STI + polymorphism + rich self HABTM : how to ?
....
They have a lot of common data and represent a common concept: Entity
class Entity < ActiveRecord::Base
class Person < Entity
class Company < Entity
table "relations"
------------------
# of_id :integer(11) = the left party: john, MSFT
# of_type :string(20)
# with_id :integer(11) = the right party..
# with_type :string(20)
# relation_type_id :integer(11) = L.U.T: "works_for", "knows"
relationship models
----------------
class Relation < AR::B
class Relati...