Displaying 1 result from an estimated 1 matches for "relationtyp".
Did you mean:
relationtype
2006 Mar 08
0
combining STI + polymorphism + rich self HABTM : how to ?
...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 RelationType < AR::B
What I don''t know:
*****************
How to associate all those pieces?
(belongs_to, has_many, :as => ..., :foreign_key, ...)
I''m lost. Help. 911
Thanks in advance.
Alain
--
Posted via http://www.ruby-forum.com/.