Displaying 1 result from an estimated 1 matches for "helps_id".
Did you mean:
help_if
2006 Feb 16
1
HABTM -VS- belongs_to/has_many, for self-referential joins
...h itself. (e.g.,
if I have a table Things, then I would like one "Thing" to "helpout" another
Thing)
----------------------
Table 1: "Thing"
Column: Name
----------------------
Table2: "Helps"
Column: thing_id (e.g. "this thing.")
Column: helps_id (. "helps that thing")
----------------------
It seems like I might want to use a HABTM, but I can''t figure out the
settings.
OR (and I think this is what I actually need / want to do), I need a
separate model to represent Helps which has some belongs_to / has_many
relation...