People,
If I have a table "books" and a table "comments" and if there is either ZERO or ONE comment per book then:
- "Comment" belongs_to "Book"
but what is the relationship of "Book" to "Comment"?
Thanks,
Phil.
People,
If I have a table "books" and a table "comments" and if there is either ZERO or ONE comment per book then:
- "Comment" belongs_to "Book"
but what is the relationship of "Book" to "Comment"?
Thanks,
Phil.
Book has_one Comment ?
Rodrigo
Philip Rhoades wrote: