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??? > > e.g. input is the id of a book and i want the corresponding title These are the correct tables: |books| ------ id author |books_languages| ---------------- book_id language_id book_title |languages| ----------- id langcode -- Posted via http://www.ruby-forum.com/.