kevin cline
11/19/2007 5:26:00 PM
On Nov 19, 11:13 am, Christian Kerth <christian.ke...@dynamicmedia.at>
wrote:
> Christian Kerth wrote:
> > Hey i have the following SQL Database Structure:
>
> > |books|
> > ------
> > id
> > author
>
> > |books_languages|
> > ----------------
> > book_id
> > language_id
> > book_title
>
> > |languages|
> > -----------
> > languages_id
> > langcode
>
> > I have ActiveRecord set up with has_many through and it sheems to work.
>
> > But how do i query the book_title of a certain book???
In your design, a book doesn't have a single title. It has a title
for each language.