Displaying 2 results from an estimated 2 matches for "alphas_beta".
Did you mean:
alpha_beta
2007 Jun 21
11
one-to-one, compound primary key, naming conventions
My understanding is that, given tables Alpha and Beta that the table
which holds the 1-to-1 relation will be called Alpha_Beta (or is it
alpha_beta?). So far so good.
alpha_beta will have, lets say, two fields: alpha_id and beta_id. Seems
that it''d be a good idea for those two fields to form a compound primary
key, ensuring there are no duplicates.
However, RoR doesn''t
2006 Jul 03
6
help!
Hi,
i''m fairly new to ruby on rails, and i know the question at hand may
seem simple at first, but i''m getting really caught up in trying to
understand this and the docs aren''t giving me answer. i actually thought
i knew how the sql commands work (like :include, :conditions, :etc) but
obviously, i don''t.
there are three models M1, M2, M3 joined by a habtam