Displaying 3 results from an estimated 3 matches for "one_to_on".
Did you mean:
one_to_one
2006 May 29
1
Multiple Relations between 2 tables
So I am trying to figure out how I would go about creating the
relationships between two tables, but there are multiple relationships
happening.
The one I am trying to figure out is a one_to_one relationship + a
one_to_many relationship.
Example:
I have a home model and a location model
home has_one location
location has_many homes
The trouble is I have to be able to access both home.location and
location.homes
I don''t want to have locations duplicate if multiple homes have t...
2003 Dec 04
1
R code for estimating Hurst exponent
Has anyone writen R code for estimating Hurst exponent with R/S method
or other methods?
or any other source of R code available?
Many thanks
Catherine Wang
2006 Aug 16
11
just don''t ''get'' "has one" and "belongs to one"
Well, I understand what they do and how, I just don''t get why!
It seems to me that any time you would have this relationship between
two tables...they should be one table! Agile Rails book gives what
seems to me to be a lame example for this. They use the example of an
"invoice" and an "order". An invoice belongs to an order and an order
has one invoice. Seems